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 5ddc193 commit aca7becCopy full SHA for aca7bec
stdlib/types.pyi
@@ -717,8 +717,8 @@ if sys.version_info >= (3, 10):
717
def __args__(self) -> tuple[Any, ...]: ...
718
@property
719
def __parameters__(self) -> tuple[Any, ...]: ...
720
- # the `Any` is because of underspecified binop semantics, when the rhs is a `_SpecialForm`
721
- # it might result in a `_SpecialForm` (Union)
+ # the `Any` in the return typeis because of underspecified binop semantics, and `value: Any` is clobbering
+ # `_SpecialForm.__ror__` which would result in a `_SpecialForm` (Union)
722
def __or__(self, value: Any, /) -> UnionType | type | Any: ...
723
def __ror__(self, value: Any, /) -> UnionType | type | Any: ...
724
def __eq__(self, value: object, /) -> bool: ...
0 commit comments