MCPcopy Index your code
hub / github.com/ipython/ipython / _extract_code

Method _extract_code

IPython/core/completer.py:1250–1252  ·  view source on GitHub ↗

No-op in Completer, but can be used in subclasses to customise behaviour

(self, line: str)

Source from the content-addressed store, hash-verified

1248 return code
1249
1250 def _extract_code(self, line: str):
1251 """No-op in Completer, but can be used in subclasses to customise behaviour"""
1252 return line
1253
1254 def _attr_matches(
1255 self,

Callers 2

global_matchesMethod · 0.95
_attr_matchesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected