[3.13] gh-118803: Fixup a few references in the 3.13 branch to the intended removal date for ByteString (#139171)

This commit is contained in:
Alex Waygood 2025-09-19 18:51:39 +01:00 committed by GitHub
parent 63dd27da3b
commit 8aa856170d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 13 deletions

View file

@ -2843,7 +2843,7 @@ class Other(Leaf): # Error reported by type checker
Sequence = _alias(collections.abc.Sequence, 1)
MutableSequence = _alias(collections.abc.MutableSequence, 1)
ByteString = _DeprecatedGenericAlias(
collections.abc.ByteString, 0, removal_version=(3, 14) # Not generic.
collections.abc.ByteString, 0, removal_version=(3, 17) # Not generic.
)
# Tuple accepts variable number of parameters.
Tuple = _TupleType(tuple, -1, inst=False, name='Tuple')