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

Method complete_multiline_names

Lib/pdb.py:1234–1239  ·  view source on GitHub ↗
(self, text, line, begidx, endidx)

Source from the content-addressed store, hash-verified

1232 return [' ' * (4 - readline.get_begidx() % 4)]
1233
1234 def complete_multiline_names(self, text, line, begidx, endidx):
1235 # If text is space-only, the user entered <tab> before any text.
1236 # That normally means they want to indent the current line.
1237 if not text.strip():
1238 return self._complete_indentation(text, line, begidx, endidx)
1239 return self.completedefault(text, line, begidx, endidx)
1240
1241 def completedefault(self, text, line, begidx, endidx):
1242 if text.startswith("$"):

Callers

nothing calls this directly

Calls 3

_complete_indentationMethod · 0.95
completedefaultMethod · 0.95
stripMethod · 0.45

Tested by

no test coverage detected