Python 3.11 code samples PEP646 : Variadic Generics See variadic_generic.py PEP673 : Self type See self_type.py PEP657 : Enhanced error messages See error_messages.py and run on the command-line Exception notes (PEP678) and Exception Groups (PEP654) See exception_groups.py PEP681 : Data Class Transforms See dataclass_transforms.py Async task groups See async_task_group.py TOML Standard library module See toml_demo.py and documentation