Python Typing Reference
Use the vendored specification as the authority rather than relying on recollection.
- Read
references/topic-index.mdto select the smallest relevant specification files. - Read those files under
../../vendor/typing-spec/completely enough to capture definitions, rules, examples, and exceptions. - Distinguish normative typing rules from a particular checker's implementation or extension.
- State version-sensitive assumptions and use the project's declared Python version and checker.
- Explain the result with the smallest useful example and name the source files consulted.