MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / completenames

Method completenames

tools/python-3.11.9-amd64/Lib/cmd.py:247–249  ·  view source on GitHub ↗
(self, text, *ignored)

Source from the content-addressed store, hash-verified

245 return []
246
247 def completenames(self, text, *ignored):
248 dotext = 'do_'+text
249 return [a[3:] for a in self.get_names() if a.startswith(dotext)]
250
251 def complete(self, text, state):
252 """Return the next possible completion for 'text'.

Callers 1

complete_helpMethod · 0.95

Calls 2

get_namesMethod · 0.95
startswithMethod · 0.80

Tested by

no test coverage detected