Skip to content

Commit 420f8f2

Browse files
authored
update comments about TypeForm since it has been deferred to python 3.15 (#687)
see https://peps.python.org/pep-0747/
1 parent 785c714 commit 420f8f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/typing_extensions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2291,10 +2291,10 @@ def f(val: Union[int, Awaitable[int]]) -> int:
22912291
return typing._GenericAlias(self, (item,))
22922292

22932293

2294-
# 3.14+?
2294+
# 3.15+?
22952295
if hasattr(typing, 'TypeForm'):
22962296
TypeForm = typing.TypeForm
2297-
# <=3.13
2297+
# <=3.14
22982298
else:
22992299
class _TypeFormForm(_ExtensionsSpecialForm, _root=True):
23002300
# TypeForm(X) is equivalent to X but indicates to the type checker

0 commit comments

Comments
 (0)