Plans to update Python's generics docs?

The typing documentation for generics is somewhat inconsistent in the use of new syntax:

Are there any plans on updating reference/generics.html? It is a bit confusing for someone who is using Python 3.12 or newer to see out-of-date information.

The repo for those docs is here: GitHub - python/typing: Python static typing home. Hosts the documentation and a user help forum. · GitHub

1 Like

OK thanks, I’ve filed Update reference/generics.html with PEP695 type parameter syntax · Issue #2227 · python/typing · GitHub