All __nonzero__ are methods that return bool (#9139)

This commit is contained in:
Nikita Sobolev authored and GitHub committed 2022-11-09 14:53:42 +00:00
1 parent cb5ed3c5fb
commit 04ae11cdd0
11 files changed
+14 -14

No files matched your search

+1 -1
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): ...