mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-06 04:08:49 +08:00
1 parent
fa0ba1eda8
commit
35f4ade96f
2 files changed
+2
-2
No files matched your search
@@ -871,7 +871,7 @@ class memoryview(Sized, Container[_mv_container_type]):
|
||||
def hex(self) -> str: ...
|
||||
|
||||
class bool(int):
|
||||
def __init__(self, o: object = ...) -> None: ...
|
||||
def __new__(cls: Type[_T], __o: object = ...) -> _T: ...
|
||||
@overload
|
||||
def __and__(self, x: bool) -> bool: ...
|
||||
@overload
|
||||
|
||||
@@ -871,7 +871,7 @@ class memoryview(Sized, Container[_mv_container_type]):
|
||||
def hex(self) -> str: ...
|
||||
|
||||
class bool(int):
|
||||
def __init__(self, o: object = ...) -> None: ...
|
||||
def __new__(cls: Type[_T], __o: object = ...) -> _T: ...
|
||||
@overload
|
||||
def __and__(self, x: bool) -> bool: ...
|
||||
@overload
|
||||
|
||||
Reference in new issue
Block a user