We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 106078c commit 5a6e0b6Copy full SHA for 5a6e0b6
stdlib/typing_extensions.pyi
@@ -697,6 +697,6 @@ class Sentinel:
697
if sys.version_info >= (3, 14):
698
def __or__(self, other: Any) -> UnionType: ... # other can be any type form legal for unions
699
def __ror__(self, other: Any) -> UnionType: ... # other can be any type form legal for unions
700
- else:
+ elif sys.version_info >= (3, 10):
701
def __or__(self, other: Any) -> _SpecialForm: ... # other can be any type form legal for unions
702
def __ror__(self, other: Any) -> _SpecialForm: ... # other can be any type form legal for unions
0 commit comments