Home
last modified time | relevance | path

Searched refs:ismethod (Results 1 – 7 of 7) sorted by relevance

/third_party/python/Lib/test/
Dtest_pyclbr.py68 def ismethod(oclass, obj, name): function
111 if ismethod(py_item, getattr(py_item, m), m):
Dtest_inspect.py92 inspect.isframe, inspect.isfunction, inspect.ismethod,
149 self.istest(inspect.ismethod, 'git.argue')
150 self.istest(inspect.ismethod, 'mod.custom_method')
1280 self.assertNotIn(('f', B.f), inspect.getmembers(B, inspect.ismethod))
1283 self.assertIn(('f', b.f), inspect.getmembers(b, inspect.ismethod))
/third_party/python/Lib/
Dinspect.py199 def ismethod(object): function
223 if isclass(object) or ismethod(object) or isfunction(object):
237 if isclass(object) or ismethod(object) or isfunction(object):
294 while ismethod(f):
417 or ismethod(object)
675 if ismethod(obj):
787 if ismethod(object):
976 if ismethod(object):
1504 if ismethod(func) and func.__self__ is not None:
1563 if ismethod(func):
Dpydoc.py104 if inspect.ismethod(obj):
238 if inspect.ismethod(fn):
1706 if inspect.ismethod(thing):
Ddoctest.py1111 if inspect.ismethod(obj): obj = obj.__func__
/third_party/python/Doc/library/
Dinspect.rst301 .. function:: ismethod(object)
423 :func:`ismethod`, :func:`isclass`, :func:`isfunction` or :func:`isbuiltin`
435 :attr:`__func__` attribute (etc) when an object passes :func:`ismethod`.
/third_party/node/deps/v8/tools/
Dgrokdump.py3539 methods = inspect.getmembers(InspectionShell, predicate=inspect.ismethod)