Python Language Reference

The Python Language Reference is the official, authoritative specification of the Python programming language.

Python 3.11 was released in October 2022. It introduced the following new language features:

  • exception groups and except*
  • new typing features (variadic generics, indication of individual items in TypedDict as mandatory or not, Self type, LiteralString type, and dataclass_transform).

See What’s New In Python 3.11 for more details.

Read the Authoritative Specification

We have not (yet) cross-referenced this language specification with our misconceptions. To find misconception by language specification section, pick one of the cross-referenced specifications.

Stay up-to-date

Follow us on  twitter to hear about new misconceptions.