Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ pop
Method
pop
Lib/_pyrepl/_module_completer.py:510–515 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
508
return
tok.string
509
510
def
pop(self) -> TokenInfo:
511
if
not self:
512
raise
ParseError(
'pop'
)
513
tok = self.tokens[self.index]
514
self.index += 1
515
return
tok
Callers
15
pop_name
Method · 0.95
pop_string
Method · 0.95
pop_input_trans
Method · 0.45
prepare
Method · 0.45
restore
Method · 0.45
do
Method · 0.45
refresh
Method · 0.45
disp_str
Function · 0.45
maybe_run_command
Function · 0.45
_maybe_import_module
Method · 0.45
_do_import
Method · 0.45
parse_import
Method · 0.45
Calls
1
ParseError
Class · 0.70
Tested by
no test coverage detected