Python 313 Modern Syntax

Python 3.13 modern syntax and typing reference. Use this skill when answering questions about or applying Python 3.13+ features including: PEP 695 type parameter syntax and runtime behavior (TypeVar, __type_params__, lazy evaluation, type statement), PEP 667 locals() semantics changes, PEP 594 module removals, PEP 696 type parameter defaults, PEP 742 TypeIs vs TypeGuard, typing.ReadOnly, warnings.deprecated, typing.Never vs NoReturn, sys._is_gil_enabled(), or any Python 3.13 typing changes. Trigger aggressively —LLMs have persistent misconceptions about all of these topics.

Standard-Syntax Updated

File contents

Standard-Syntax/cc-skill-optimizer/tree/main/skills/python-313-modern-syntax commit a16c63b522

Frequently asked questions

npx skillmds@latest add standard-syntax/python-313-modern-syntax