/third_party/python/Lib/test/ |
D | test_bool.py | 291 def __bool__(self): member in BoolTest.test_convert_to_bool.Foo 296 def __bool__(self): member in BoolTest.test_convert_to_bool.Bar 301 def __bool__(self): member in BoolTest.test_convert_to_bool.Baz 307 def __bool__(self): member in BoolTest.test_convert_to_bool.Spam 337 __bool__ = None variable in BoolTest.test_blocked.A 343 __bool__ = None variable in BoolTest.test_blocked.B 360 def __bool__(self): member in BoolTest.test_bool_called_at_least_once.X
|
D | test_dynamicclassattribute.py | 160 def __bool__(self): member in PropertyTests.test_property___isabstractmethod__descriptor.NotBool 162 __len__ = __bool__
|
D | test_property.py | 143 def __bool__(self): member in PropertyTests.test_property___isabstractmethod__descriptor.NotBool 145 __len__ = __bool__
|
D | test_richcmp.py | 53 def __bool__(self): member in Vector 214 def __bool__(self): member in MiscTest.test_not.Bad
|
D | test_abc.py | 219 def __bool__(self): member in test_factory.TestABC.test_descriptors_with_abstractmethod.NotBool 221 __len__ = __bool__
|
D | test_class.py | 470 __bool__ = __int__ variable in ClassTests.testBadTypeReturned.BadTypeClass
|
/third_party/python/Doc/library/ |
D | timeit.rst | 309 $ python -m timeit 'try:' ' str.__bool__' 'except AttributeError:' ' pass' 311 $ python -m timeit 'if hasattr(str, "__bool__"): pass' 314 $ python -m timeit 'try:' ' int.__bool__' 'except AttributeError:' ' pass' 316 $ python -m timeit 'if hasattr(int, "__bool__"): pass' 325 ... str.__bool__ 331 >>> s = "if hasattr(str, '__bool__'): pass" 338 ... int.__bool__ 344 >>> s = "if hasattr(int, '__bool__'): pass"
|
D | graphlib.rst | 118 The :meth:`~TopologicalSorter.__bool__` method of this class defers to
|
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/spec_tools/ |
D | validity.py | 124 def __bool__(self): member in ValidityCollection 194 def __bool__(self): member in ValidityEntry
|
/third_party/skia/third_party/externals/jinja2/ |
D | runtime.py | 823 __bool__ = __nonzero__ variable in Undefined 907 def __bool__(self): member in make_logging_undefined.LoggingUndefined 908 rv = base.__bool__(self) 1001 ) = __eq__ = __ne__ = __bool__ = __hash__ = Undefined._fail_with_undefined_error
|
D | lexer.py | 339 def __bool__(self): member in TokenStream 342 __nonzero__ = __bool__ # py2
|
/third_party/node/tools/inspector_protocol/jinja2/ |
D | runtime.py | 671 __bool__ = __nonzero__ variable in Undefined 750 def __bool__(self): member in make_logging_undefined.LoggingUndefined 751 rv = base.__bool__(self) 807 __ne__ = __bool__ = __hash__ = \
|
D | lexer.py | 315 def __bool__(self): member in TokenStream 317 __nonzero__ = __bool__ # py2
|
/third_party/node/deps/v8/third_party/jinja2/ |
D | runtime.py | 823 __bool__ = __nonzero__ variable in Undefined 907 def __bool__(self): member in make_logging_undefined.LoggingUndefined 908 rv = base.__bool__(self) 1001 ) = __eq__ = __ne__ = __bool__ = __hash__ = Undefined._fail_with_undefined_error
|
D | lexer.py | 339 def __bool__(self): member in TokenStream 342 __nonzero__ = __bool__ # py2
|
/third_party/jinja2/ |
D | runtime.py | 894 def __bool__(self) -> bool: member in Undefined 954 def __bool__(self) -> bool: member in make_logging_undefined.LoggingUndefined 956 return super().__bool__() # type: ignore 1042 __eq__ = __ne__ = __bool__ = __hash__ = Undefined._fail_with_undefined_error
|
D | lexer.py | 340 def __bool__(self) -> bool: member in TokenStream
|
/third_party/python/Lib/test/test_json/ |
D | test_speedups.py | 5 def __bool__(self): member in BadBool
|
/third_party/littlefs/scripts/ |
D | readmdir.py | 146 def __bool__(self): member in Tag 231 def __bool__(self): member in MetadataPair
|
/third_party/python/Lib/ |
D | graphlib.py | 146 def __bool__(self): member in TopologicalSorter
|
D | numbers.py | 49 def __bool__(self): member in Complex
|
D | enum.py | 353 def __bool__(self): member in EnumMeta 905 def __bool__(self): member in Flag
|
D | fractions.py | 729 def __bool__(a): member in Fraction
|
/third_party/python/Lib/test/test_importlib/ |
D | test_util.py | 210 def __bool__(self): return False member in ModuleForLoaderTests.test_false_module.FalseModule 616 def __bool__(self): raise RuntimeError member in PEP3147Tests.test_cache_from_source_override.Bearish
|
/third_party/python/Lib/unittest/test/testmock/ |
D | testmagicmethods.py | 171 m.__bool__ = lambda s: False
|