Skip to content

Commit ebbdfbb

Browse files
Update to more relevant PEP
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
1 parent 439a618 commit ebbdfbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/spec/generics.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1849,7 +1849,7 @@ and a type checker should flag this as an error.
18491849
AllTheDefaults[int, complex, str, int, bool]
18501850
) # All valid
18511851

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

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

0 commit comments

Comments
 (0)