typing icon indicating copy to clipboard operation
typing copied to clipboard

Update reference/generics.html with PEP695 type parameter syntax

Open jason-sachs opened this issue 8 months ago • 2 comments

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.

jason-sachs avatar Mar 25 '26 18:03 jason-sachs

Yes, we should update the reference page to use PEP 695 now that Python 3.12 is a few years old.

JelleZijlstra avatar Mar 25 '26 18:03 JelleZijlstra

Hi @JelleZijlstra,

I’ve raised a PR addressing this issue with the requested changes. Kindly take a moment to review it when convenient.

BHUVANSH855 avatar Apr 07 '26 19:04 BHUVANSH855