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

Method parse_as_names

Lib/_pyrepl/_module_completer.py:439–443  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

437 return ''.join(name[::-1])
438
439 def parse_as_names(self) -> None:
440 self.parse_as_name()
441 while self.tokens.peek_string(','):
442 self.tokens.pop()
443 self.parse_as_name()
444
445 def parse_as_name(self) -> None:
446 self.tokens.pop_name()

Callers 1

Calls 3

parse_as_nameMethod · 0.95
peek_stringMethod · 0.80
popMethod · 0.45

Tested by

no test coverage detected