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

Function get_class_members

Lib/rlcompleter.py:215–220  ·  view source on GitHub ↗
(klass)

Source from the content-addressed store, hash-verified

213 return matches
214
215def get_class_members(klass):
216 ret = dir(klass)
217 if hasattr(klass,'__bases__'):
218 for base in klass.__bases__:
219 ret = ret + get_class_members(base)
220 return ret
221
222try:
223 import readline

Callers 1

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