Python ?¦Ï?Python Reference Manual
???:
? Front Matter
?:
Python ?¦Ï?Python Reference Manual
??:
1. Introduction
??
1. Introduction
1.1 ? Notation
2. ? Lexical analysis
2.1 §ß? Line structure
2.1.1 ? Logical lines
2.1.2 Physical lines
2.1.3 ? Comments
2.1.4 Encoding declarations
2.1.5 ? Explicit line joining
2.1.6 ? Implicit line joining
2.1.7 Blank lines
2.1.8 Indentation
2.1.9 ??? Whitespace between tokens
2.2 ? Other tokens
2.3 ??? Identifiers and keywords
2.3.1 ? Keywords
2.3.2 ?? Reserved classes of identifiers
2.4 ? Literals
2.4.1 ? String literals
2.4.2 ? String literal concatenation
2.4.3 ??? Numeric literals
2.4.4 ??? Integer and long integer literals
2.4.5 ?? Floating point literals
2.4.6 ? Imaginary literals
2.5 Operators
2.6 ? Delimiters
3. !!? Data model
3.1 , ? Objects, values and types
3.2 ?? The standard type hierarchy
3.3 ? Special method names
3.3.1 Basic customization
3.3.2 ? Customizing attribute access
3.3.3 Customizing class creation
3.3.4 ??? Emulating callable objects
3.3.5 ? Emulating container types
3.3.6 ?? Additional methods for emulation of sequence types
3.3.7 ?? Emulating numeric types
3.3.8 ??: Coercion rules
4. ? Execution model
4.1 !!! , §ß??? Naming and binding
4.1.1 Interaction with dynamic features
4.2 ? Exceptions
5. ? Expressions
5.1 ??? Arithmetic conversions
5.2 ? Atoms
5.2.1 ?() Identifiers (Names)
5.2.2 ? Literals
5.2.3 ?? Parenthesized forms
5.2.4 §Ò?? List displays
5.2.5 ??? Dictionary displays
5.2.6 ? String conversions
5.3 ? Primaries
5.3.1 Attribute references
5.3.2 ¡À Subscriptions
5.3.3 ? Slicings
5.3.4 Calls
5.4 The power operator
5.5 ?? Unary arithmetic operations
5.6 ? Binary arithmetic operations
5.7 ¦Ë Shifting operations
5.8 ?¦Ë Binary bit-wise operations
5.9 ? Comparisons
5.10 Boolean operations
5.11 Lambda?(lambda?) Lambdas
5.12 ? Expression lists
5.13 Evaluation order
5.14 ? Summary
6. Simple statements
6.1 ? Expression statements
6.2 Assert statements
6.3 ? Assignment statements
6.3.1 ? Augmented assignment statements
6.4 pass The pass statement
6.5 del The del statement
6.6 print The print statement
6.7 return The return statement
6.8 yield The yield statement
6.9 raise The raise statement
6.10 break The break statement
6.11 continue The continue statement
6.12 import The import statement
6.12.1 Future statements
6.13 global The global statement
6.14 exec The exec statement
7. Compound statements
7.1 if The if statement
7.2 while The while statement
7.3 for The for statement
7.4 try The try statement
7.5 Function definitions
7.6 ? Class definitions
8. ? Top-level components
8.1 Python Complete Python programs
8.2 ? File input
8.3 ? Interactive input
8.4 ? Expression input
A. History and License
A.1 History of the software
A.2 Terms and conditions for accessing or otherwise using Python
B. ?
C. ?
Python ?¦Ï?Python Reference Manual
???:
? Front Matter
?:
Python ?¦Ï?Python Reference Manual
??:
1. Introduction
·Ú 2.3.3, ?? ?: 18, 2004.