MCPcopy Create free account
hub / github.com/ipython/ipython / gen_comp

Method gen_comp

IPython/terminal/debugger.py:56–57  ·  view source on GitHub ↗
(self, text)

Source from the content-addressed store, hash-verified

54 methods_names = [m[3:] for m in dir(self) if m.startswith("do_")]
55
56 def gen_comp(self, text):
57 return [m for m in methods_names if m.startswith(text)]
58 import types
59 newcomp = types.MethodType(gen_comp, compl)
60 compl.custom_matchers.insert(0, newcomp)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected