MCPcopy Index your code
hub / github.com/python/cpython / ismethodwrapper

Function ismethodwrapper

Lib/inspect.py:441–443  ·  view source on GitHub ↗

Return true if the object is a method wrapper.

(object)

Source from the content-addressed store, hash-verified

439 return isinstance(object, types.BuiltinFunctionType)
440
441def ismethodwrapper(object):
442 """Return true if the object is a method wrapper."""
443 return isinstance(object, types.MethodWrapperType)
444
445def isroutine(object):
446 """Return true if the object is any kind of function or method."""

Callers 1

isroutineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…