Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ lexer.py
File
lexer.py
Tools/cases_generator/lexer.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
# Parser for C code
2
# Originally by Mark Shannon (mark@hotpy.org)
3
# https://gist.github.com/markshannon/db7ab649440b5af765451bb77c7dba34
4
Callers
nothing calls this directly
Calls
12
choice
Function · 0.85
tokenize
Function · 0.70
open
Function · 0.50
items
Method · 0.45
upper
Method · 0.45
replace
Method · 0.45
compile
Method · 0.45
values
Method · 0.45
append
Method · 0.45
lower
Method · 0.45
extend
Method · 0.45
read
Method · 0.45
Tested by
no test coverage detected