mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-16 06:52:02 +08:00
All __nonzero__ are methods that return bool (#9139)
This commit is contained in:
@@ -29,7 +29,7 @@ class CTypesGenericArray(CTypesData):
|
||||
|
||||
class CTypesGenericPtr(CTypesData):
|
||||
kind: str
|
||||
def __nonzero__(self): ...
|
||||
def __nonzero__(self) -> bool: ...
|
||||
def __bool__(self) -> bool: ...
|
||||
|
||||
class CTypesBaseStructOrUnion(CTypesData): ...
|
||||
|
||||
Reference in New Issue
Block a user