Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/spec/generics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1849,7 +1849,7 @@ and a type checker should flag this as an error.
AllTheDefaults[int, complex, str, int, bool]
) # All valid

With the new Python 3.12 syntax for generics (introduced by :pep:`695`), this can
With the new Python 3.13 syntax for generics (introduced by :pep:`696`), this can
be enforced at compile time::

type Alias[DefaultT = int, T] = tuple[DefaultT, T] # SyntaxError: non-default TypeVars cannot follow ones with defaults
Expand Down