2.4 Literals

|  |  | Python Reference Manual |  |  |

Previous: 2.3.2 Reserved classes of Up: 2. Lexical analysis Next: 2.4.1 String literals

#
2.4 Literals

Literals are notations for constant values of some built-in types.

Subsections

- 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

|  |  | Python Reference Manual |  |  |

Previous: 2.3.2 Reserved classes of Up: 2. Lexical analysis Next: 2.4.1 String literals

Release 2.4, documentation updated on 30 November 2004.