Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitsandbytes-foundation/bitsandbytes
/ print_header
Function
print_header
bitsandbytes/diagnostics/utils.py:6–8 ·
view source on GitHub ↗
(txt: str, width: int = HEADER_WIDTH, filler: str = "=")
Source
from the content-addressed store, hash-verified
4
5
6
def
print_header(txt: str, width: int = HEADER_WIDTH, filler: str =
"="
) -> None:
7
txt = f
" {txt} "
if
txt
else
""
8
print(txt.center(width, filler))
9
10
11
def
print_dedented(text):
Callers
1
main
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected