Home
last modified time | relevance | path

Searched refs:ismethoddescriptor (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython2/Lib/
Dinspect.py78 def ismethoddescriptor(object): function
240 or ismethoddescriptor(object))
313 elif ismethoddescriptor(obj):
320 ismethoddescriptor(obj_via_getattr)):
Dpydoc.py132 return inspect.ismethod(obj) or inspect.ismethoddescriptor(obj)
/external/python/cpython3/Lib/test/
Dtest_inspect.py1233 ismethoddescriptor = pred_wrapper(inspect.ismethoddescriptor)
1236 self.assertEqual(inspect.getmembers(A, ismethoddescriptor),
1244 self.assertEqual(inspect.getmembers(B, ismethoddescriptor),
2446 _orig_isdesc = inspect.ismethoddescriptor
2455 self.assertFalse(inspect.ismethoddescriptor(builtin_func))
2457 self.assertTrue(inspect.ismethoddescriptor(builtin_func))
/external/python/cpython3/Lib/
Dinspect.py91 def ismethoddescriptor(object): function
300 or ismethoddescriptor(object))
587 elif ismethoddescriptor(obj) or isdatadescriptor(obj):
1869 ismethoddescriptor(obj) or
Ddoctest.py958 elif inspect.ismethoddescriptor(object):
Dpydoc.py134 elif inspect.ismethoddescriptor(obj) or inspect.isdatadescriptor(obj):
/external/python/cpython2/Doc/library/
Dinspect.rst332 .. function:: ismethoddescriptor(object)
346 return false from the :func:`ismethoddescriptor` test, simply because the
/external/python/cpython3/Doc/library/
Dinspect.rst414 .. function:: ismethoddescriptor(object)
427 return ``False`` from the :func:`ismethoddescriptor` test, simply because the