Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ _print_tokens
Function
_print_tokens
Lib/shlex.py:341–343 ·
view source on GitHub ↗
(lexer)
Source
from the content-addressed store, hash-verified
339
340
341
def
_print_tokens(lexer):
342
while
tt := lexer.get_token():
343
print(
"Token: "
+ repr(tt))
344
345
if
__name__ ==
'__main__'
:
346
if
len(sys.argv) == 1:
Callers
1
shlex.py
File · 0.85
Calls
1
get_token
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…