Home
last modified time | relevance | path

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

/third_party/python/Lib/
Dabc.py24 funcobj.__isabstractmethod__ = True
41 __isabstractmethod__ = True variable in abstractclassmethod
44 callable.__isabstractmethod__ = True
61 __isabstractmethod__ = True variable in abstractstaticmethod
64 callable.__isabstractmethod__ = True
81 __isabstractmethod__ = True variable in abstractproperty
Dfunctools.py389 _method.__isabstractmethod__ = self.__isabstractmethod__
413 def __isabstractmethod__(self): member in partialmethod
928 _method.__isabstractmethod__ = self.__isabstractmethod__
934 def __isabstractmethod__(self): member in singledispatchmethod
Dtypes.py174 self.__isabstractmethod__ = bool(getattr(fget, '__isabstractmethod__', False))
178 if self.__isabstractmethod__:
/third_party/python/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__)
226 bar.__isabstractmethod__ = NotBool()
240 def __isabstractmethod__(self): member in test_factory.TestABC.test_customdescriptors_with_abstractmethod.Descriptor
258 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.py585 self.assertTrue(Abstract.add.__isabstractmethod__)
586 self.assertTrue(Abstract.add5.__isabstractmethod__)
2421 self.assertTrue(Abstract.add.__isabstractmethod__)
2422 self.assertTrue(Abstract.__dict__['add'].__isabstractmethod__)
/third_party/python/Doc/library/
Dabc.rst219 :attr:`__isabstractmethod__`. In general, this attribute should be ``True``
226 def __isabstractmethod__(self):
227 return any(getattr(f, '__isabstractmethod__', False) for
/third_party/python/Objects/
Dobject.c33 _Py_IDENTIFIER(__isabstractmethod__);
/third_party/python/Tools/c-analyzer/
DTODO400 …jects/object.c:PyId___isabstractmethod__ _Py_IDENTIFIER(__isabstractmethod__)
/third_party/python/Doc/whatsnew/
D3.3.rst916 now to provide :attr:`__isabstractmethod__` as a dynamically updated