3.13
Python Language Reference
The Python Language Reference is the official, authoritative specification of the Python programming language.
Python 3.13 was released in October 2024. The version improved the interactive interpreter and the error messages, together with other changes, but did not introduce new language features.
See What’s New In Python 3.13 for more details.
Our Python misconceptions relate to the following sections of that specification:
2.3.1
Keywords
2.4
Literals
3.0
Data model
3.1
Objects, values, and types
3.2
The standard type hierarchy
3.3.1
__init__
6.0
Expressions
6.3.1
Attribute references
6.3.4
Calls
6.7
Binary arithmetic operations
6.9
Binary bitwise operations
6.10
Comparisons
6.13
Conditional expressions
6.15
Expression lists
6.16
Evaluation order
7.0
Simple statements
7.2
Assignment statements
7.6
The return statement
8.1
The if statement
Library
Boolean operations
Library
Dictionary
Library
Functions