Extra Credit

Python Language Reference

Official docs outline

9 sections
  1. Lexical analysis

    Tokens, indentation, literals and f-strings.

  2. Data model: objects, values and types

    Identity, type and mutability.

  3. Special method names

    __init__, __repr__, __eq__, context manager and descriptor protocols.

  4. Execution model

    Name binding, scopes, global and nonlocal.

  5. The import system

    Finders, loaders, sys.modules and packages.

  6. Expressions

    Operators, precedence, comprehensions, await and lambda.

  7. Simple statements

    assignment, import, global, assert, raise and return.

  8. Compound statements

    if, while, for, try, with, match, function and class definitions.

  9. Full grammar specification

    The PEG grammar of Python.

Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.

All 33