Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2638b86

Browse files
authored
Removeno_type_check_decorator from__all__ for Python >= 3.15 (#699)
1 parentf684c9a commit2638b86

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎src/typing_extensions.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@
148148
'ValuesView',
149149
'cast',
150150
'no_type_check',
151-
'no_type_check_decorator',
152151
]
153152

154153
# for backward compatibility
@@ -4312,3 +4311,7 @@ def type_repr(value):
43124311
Generic=typing.Generic
43134312
ForwardRef=typing.ForwardRef
43144313
Annotated=typing.Annotated
4314+
4315+
# Breakpoint: https://github.com/python/cpython/pull/133602
4316+
ifsys.version_info< (3,15,0):
4317+
__all__.append("no_type_check_decorator")

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp