Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ _colorize.py
File
_colorize.py
Lib/_colorize.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
os
2
import
sys
3
4
from
collections.abc
import
Callable, Iterator, Mapping
Callers
nothing calls this directly
Calls
10
set
Function · 0.85
ANSIColors
Class · 0.70
LiveProfiler
Class · 0.70
Theme
Class · 0.70
set_theme
Function · 0.70
items
Method · 0.45
startswith
Method · 0.45
add
Method · 0.45
no_colors
Method · 0.45
copy_with
Method · 0.45
Tested by
no test coverage detected