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

Function _getattributes

Lib/idlelib/rpc.py:592–596  ·  view source on GitHub ↗
(obj, attributes)

Source from the content-addressed store, hash-verified

590 _getmethods(super, methods)
591
592def _getattributes(obj, attributes):
593 for name in dir(obj):
594 attr = getattr(obj, name)
595 if not callable(attr):
596 attributes[name] = 1
597
598
599class MethodProxy:

Callers 1

localcallMethod · 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…