Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RT-Thread/env-windows
/ highlight.py
File
highlight.py
tools/python-3.11.9-amd64/Tools/scripts/highlight.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
#!/usr/bin/env python3
2
''
'Add syntax highlighting to Python source code'
''
3
4
__author__ =
'Raymond Hettinger'
Callers
nothing calls this directly
Calls
15
analyze_python
Function · 0.85
raw_highlight
Function · 0.85
build_html_page
Function · 0.85
html_highlight
Function · 0.85
latex_highlight
Function · 0.85
ansi_highlight
Function · 0.85
dedent
Method · 0.80
splitext
Method · 0.80
basename
Method · 0.80
open
Function · 0.50
add_argument
Method · 0.45
parse_args
Method · 0.45
Tested by
no test coverage detected