MCPcopy 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_pythonFunction · 0.85
raw_highlightFunction · 0.85
build_html_pageFunction · 0.85
html_highlightFunction · 0.85
latex_highlightFunction · 0.85
ansi_highlightFunction · 0.85
dedentMethod · 0.80
splitextMethod · 0.80
basenameMethod · 0.80
openFunction · 0.50
add_argumentMethod · 0.45
parse_argsMethod · 0.45

Tested by

no test coverage detected