Searched refs:class_or_tuple (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython3/Python/clinic/ |
D | bltinmodule.c.h | 823 PyObject *class_or_tuple); 830 PyObject *class_or_tuple; in builtin_isinstance() local 836 class_or_tuple = args[1]; in builtin_isinstance() 837 return_value = builtin_isinstance_impl(module, obj, class_or_tuple); in builtin_isinstance() 858 PyObject *class_or_tuple); 865 PyObject *class_or_tuple; in builtin_issubclass() local 871 class_or_tuple = args[1]; in builtin_issubclass() 872 return_value = builtin_issubclass_impl(module, cls, class_or_tuple); in builtin_issubclass()
|
/external/python/cpython3/Python/ |
D | bltinmodule.c | 2596 PyObject *class_or_tuple) in builtin_isinstance_impl() argument 2601 retval = PyObject_IsInstance(obj, class_or_tuple); in builtin_isinstance_impl() 2624 PyObject *class_or_tuple) in builtin_issubclass_impl() argument 2629 retval = PyObject_IsSubclass(cls, class_or_tuple); in builtin_issubclass_impl()
|
/external/python/typing/typing_extensions/src/ |
D | test_typing_extensions.py | 36 def assertIsSubclass(self, cls, class_or_tuple, msg=None): argument 37 if not issubclass(cls, class_or_tuple): 43 def assertNotIsSubclass(self, cls, class_or_tuple, msg=None): argument 44 if issubclass(cls, class_or_tuple):
|
/external/python/cpython3/Lib/test/ |
D | test_typing.py | 41 def assertIsSubclass(self, cls, class_or_tuple, msg=None): argument 42 if not issubclass(cls, class_or_tuple): 43 message = '%r is not a subclass of %r' % (cls, class_or_tuple) 48 def assertNotIsSubclass(self, cls, class_or_tuple, msg=None): argument 49 if issubclass(cls, class_or_tuple): 50 message = '%r is a subclass of %r' % (cls, class_or_tuple)
|