Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RT-Thread/env-windows
/ _print_tokens
Function
_print_tokens
tools/python-3.11.9-amd64/Lib/shlex.py:337–342 ·
view source on GitHub ↗
(lexer)
Source
from the content-addressed store, hash-verified
335
336
337
def
_print_tokens(lexer):
338
while
1:
339
tt = lexer.get_token()
340
if
not tt:
341
break
342
print(
"Token: "
+ repr(tt))
343
344
if
__name__ ==
'__main__'
:
345
if
len(sys.argv) == 1:
Callers
1
shlex.py
File · 0.85
Calls
2
print
Function · 0.50
get_token
Method · 0.45
Tested by
no test coverage detected