Home
last modified time | relevance | path

Searched refs:__isabstractmethod__ (Results 1 – 12 of 12) sorted by relevance

/external/python/cpython3/Lib/
Dabc.py23 funcobj.__isabstractmethod__ = True
43 __isabstractmethod__ = True variable in abstractclassmethod
46 callable.__isabstractmethod__ = True
66 __isabstractmethod__ = True variable in abstractstaticmethod
69 callable.__isabstractmethod__ = True
101 __isabstractmethod__ = True variable in abstractproperty
Dtypes.py162 self.__isabstractmethod__ = bool(getattr(fget, '__isabstractmethod__', False))
166 if self.__isabstractmethod__:
Dfunctools.py364 _method.__isabstractmethod__ = self.__isabstractmethod__
388 def __isabstractmethod__(self): member in partialmethod
/external/python/cpython3/Lib/test/
Dtest_abc.py21 self.assertTrue(foo.__isabstractmethod__)
38 self.assertTrue(foo.__isabstractmethod__)
56 self.assertTrue(foo.__isabstractmethod__)
90 self.assertTrue(foo.__isabstractmethod__)
98 self.assertTrue(foo.__isabstractmethod__)
116 self.assertTrue(foo.__isabstractmethod__)
136 self.assertTrue(foo.__isabstractmethod__)
207 bar.__isabstractmethod__ = NotBool()
221 def __isabstractmethod__(self): member in test_factory.TestABC.test_customdescriptors_with_abstractmethod.Descriptor
239 self.assertFalse(E.foo.__isabstractmethod__)
Dtest_property.py136 foo.__isabstractmethod__ = val
138 self.assertIs(C.foo.__isabstractmethod__, bool(val))
150 foo.__isabstractmethod__ = NotBool()
152 C.foo.__isabstractmethod__
Dtest_dynamicclassattribute.py153 foo.__isabstractmethod__ = val
155 self.assertIs(C.__dict__['foo'].__isabstractmethod__, bool(val))
167 foo.__isabstractmethod__ = NotBool()
Dtest_functools.py567 self.assertTrue(Abstract.add.__isabstractmethod__)
568 self.assertTrue(Abstract.add5.__isabstractmethod__)
/external/python/cpython2/Lib/
Dabc.py32 funcobj.__isabstractmethod__ = True
62 __isabstractmethod__ = True variable in abstractproperty
/external/python/cpython2/Lib/test/
Dtest_abc.py18 self.assertTrue(foo.__isabstractmethod__)
25 self.assertTrue(foo.__isabstractmethod__)
/external/python/cpython3/Doc/library/
Dabc.rst218 :attr:`__isabstractmethod__`. In general, this attribute should be ``True``
225 def __isabstractmethod__(self):
226 return any(getattr(f, '__isabstractmethod__', False) for
/external/python/cpython3/Objects/
Dobject.c16 _Py_IDENTIFIER(__isabstractmethod__);
/external/python/cpython3/Doc/whatsnew/
D3.3.rst916 now to provide :attr:`__isabstractmethod__` as a dynamically updated