Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/
Dabc.py24 funcobj.__isabstractmethod__ = True
34 __isabstractmethod__ = True variable in abstractclassmethod
37 callable.__isabstractmethod__ = True
47 __isabstractmethod__ = True variable in abstractstaticmethod
50 callable.__isabstractmethod__ = True
60 __isabstractmethod__ = True variable in abstractproperty
Dfunctools.py399 _method.__isabstractmethod__ = self.__isabstractmethod__
423 def __isabstractmethod__(self): member in partialmethod
913 _method.__isabstractmethod__ = self.__isabstractmethod__
919 def __isabstractmethod__(self): member in singledispatchmethod
Dtypes.py169 self.__isabstractmethod__ = bool(getattr(fget, '__isabstractmethod__', False))
173 if self.__isabstractmethod__:
/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.py578 self.assertTrue(Abstract.add.__isabstractmethod__)
579 self.assertTrue(Abstract.add5.__isabstractmethod__)
2320 self.assertTrue(Abstract.add.__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.c22 _Py_IDENTIFIER(__isabstractmethod__);
/external/python/cpython3/Doc/whatsnew/
D3.3.rst916 now to provide :attr:`__isabstractmethod__` as a dynamically updated