HomeSort by relevance Sort by last modified time
    Searched defs:__bool__ (Results 1 - 25 of 57) sorted by null

1 2 3

  /external/fonttools/Lib/fontTools/ttLib/tables/
_f_p_g_m.py 24 def __bool__(self): member in class:table__f_p_g_m
44 __nonzero__ = __bool__
ttProgram.py 489 def __bool__(self): member in class:Program
516 __nonzero__ = __bool__
  /external/autotest/client/site_tests/firmware_TouchMTB/geometry/
elements.py 32 def __bool__(self): member in class:Point
69 # __bool__ is used in Python 3.x and __nonzero__ in Python 2.x
70 __nonzero__ = __bool__
84 def __bool__(self): member in class:Circle
117 # __bool__ is used in Python 3.x and __nonzero__ in Python 2.x
118 __nonzero__ = __bool__
  /external/python/cpython3/Lib/test/test_json/
test_speedups.py 5 def __bool__(self): member in class:BadBool
  /external/fonttools/Lib/fontTools/misc/
transform.py 323 def __bool__(self): member in class:Transform
342 __nonzero__ = __bool__
arrayTools.py 203 def __bool__(self): member in class:Vector
205 __nonzero__ = __bool__
  /external/python/dateutil/dateutil/
relativedelta.py 461 def __bool__(self): member in class:relativedelta
479 __nonzero__ = __bool__
  /external/tensorflow/tensorflow/python/training/
server_lib.py 318 __bool__ = __nonzero__ variable in class:ClusterSpec
  /external/python/cpython3/Lib/test/
test_bool.py 299 # from __bool__(). This isn't really a bool test, but
303 def __bool__(self): member in class:BoolTest.test_convert_to_bool.Foo
308 def __bool__(self): member in class:BoolTest.test_convert_to_bool.Bar
313 def __bool__(self): member in class:BoolTest.test_convert_to_bool.Baz
317 # __bool__() must return a bool not an int
319 def __bool__(self): member in class:BoolTest.test_convert_to_bool.Spam
349 __bool__ = None variable in class:BoolTest.test_blocked.A
355 __bool__ = None variable in class:BoolTest.test_blocked.B
test_abc.py 200 def __bool__(self): member in class:test_factory.TestABC.test_descriptors_with_abstractmethod.NotBool
202 __len__ = __bool__
test_class.py 470 __bool__ = __int__ variable in class:ClassTests.testBadTypeReturned.BadTypeClass
test_dynamicclassattribute.py 160 def __bool__(self): member in class:PropertyTests.test_property___isabstractmethod__descriptor.NotBool
162 __len__ = __bool__
test_property.py 143 def __bool__(self): member in class:PropertyTests.test_property___isabstractmethod__descriptor.NotBool
145 __len__ = __bool__
test_richcmp.py 53 def __bool__(self): member in class:Vector
135 # calls __bool__, which should fail
208 # Check that exceptions in __bool__ are properly
214 def __bool__(self): member in class:MiscTest.test_not.Bad
test_struct.py 480 def __bool__(self): member in class:StructTest.test_bool.ExplodingBool
    [all...]
  /external/python/pyasn1/pyasn1/type/
constraint.py 69 def __bool__(self): function in function:AbstractConstraint.__ge__
base.py 289 def __bool__(self): function in function:AbstractSimpleAsn1Item.__ge__
508 def __bool__(self): function in function:AbstractConstructedAsn1Item.__ge__
namedtype.py 216 def __bool__(self): function in function:NamedTypes.__iter__
  /external/tensorflow/tensorflow/contrib/graph_editor/
util.py 83 def __bool__(self): member in class:ListView
86 # Python 3 wants __bool__, Python 2.7 wants __nonzero__
87 __nonzero__ = __bool__
  /build/make/tools/releasetools/
blockimgdiff.py 328 def __bool__(self): member in class:HeapItem
331 # Python 2 uses __nonzero__, while Python 3 uses __bool__.
332 __nonzero__ = __bool__
    [all...]
  /external/python/cpython3/Lib/
cgi.py 589 def __bool__(self): member in class:FieldStorage
    [all...]
enum.py 278 def __bool__(self): member in class:EnumMeta
763 def __bool__(self): member in class:Flag
    [all...]
fractions.py 626 def __bool__(a): member in class:Fraction
numbers.py 49 def __bool__(self): member in class:Complex
  /external/scapy/scapy/tools/
UTscapy.py 198 __bool__ = __nonzero__ variable in class:UnitTest

Completed in 488 milliseconds

1 2 3