Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/
Dabc.py25 funcobj.__isabstractmethod__ = True
46 __isabstractmethod__ = True variable in abstractclassmethod
49 callable.__isabstractmethod__ = True
70 __isabstractmethod__ = True variable in abstractstaticmethod
73 callable.__isabstractmethod__ = True
106 __isabstractmethod__ = True variable in abstractproperty
Dtypes.py133 self.__isabstractmethod__ = bool(getattr(fget, '__isabstractmethod__', False))
137 if self.__isabstractmethod__:
Dfunctools.py371 _method.__isabstractmethod__ = self.__isabstractmethod__
395 def __isabstractmethod__(self): member in partialmethod
/external/python/cpython3/Lib/test/
Dtest_abc.py18 self.assertTrue(foo.__isabstractmethod__)
35 self.assertTrue(foo.__isabstractmethod__)
53 self.assertTrue(foo.__isabstractmethod__)
87 self.assertTrue(foo.__isabstractmethod__)
95 self.assertTrue(foo.__isabstractmethod__)
113 self.assertTrue(foo.__isabstractmethod__)
133 self.assertTrue(foo.__isabstractmethod__)
204 bar.__isabstractmethod__ = NotBool()
218 def __isabstractmethod__(self): member in TestABC.test_customdescriptors_with_abstractmethod.Descriptor
236 self.assertFalse(E.foo.__isabstractmethod__)
Dtest_property.py135 foo.__isabstractmethod__ = val
137 self.assertIs(C.foo.__isabstractmethod__, bool(val))
149 foo.__isabstractmethod__ = NotBool()
151 C.foo.__isabstractmethod__
Dtest_dynamicclassattribute.py153 foo.__isabstractmethod__ = val
155 self.assertIs(C.__dict__['foo'].__isabstractmethod__, bool(val))
167 foo.__isabstractmethod__ = NotBool()
Dtest_functools.py541 self.assertTrue(Abstract.add.__isabstractmethod__)
542 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.rst203 :attr:`__isabstractmethod__`. In general, this attribute should be ``True``
210 def __isabstractmethod__(self):
211 return any(getattr(f, '__isabstractmethod__', False) for
/external/python/cpython3/Objects/
Dobject.c14 _Py_IDENTIFIER(__isabstractmethod__);
/external/python/cpython3/Doc/whatsnew/
D3.3.rst916 now to provide :attr:`__isabstractmethod__` as a dynamically updated