All __nonzero__ are methods that return bool (#9139)

This commit is contained in:
Nikita Sobolev
2022-11-09 17:53:42 +03:00
committed by GitHub
parent cb5ed3c5fb
commit 04ae11cdd0
11 changed files with 14 additions and 14 deletions

View File

@@ -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): ...