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

Method complete_example

IPython/core/tests/test_completer.py:185–186  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

183 assert matches.index('input') < matches.index('int')
184
185 def complete_example(a):
186 return ['example2', 'example1']
187
188 ip.Completer.custom_completers.add_re('ex*', complete_example)
189 _, matches = ip.complete('ex')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected