Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/psycopg/psycopg
/ main
Function
main
tools/update_error_prefixes.py:18–21 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
16
17
18
def
main() -> None:
19
args = parse_cmdline()
20
regexp = make_regexp(args.pgroot)
21
update_file(args.dest, regexp)
22
23
24
def
make_regexp(pgroot: Path) -> str:
Callers
1
update_error_prefixes.py
File · 0.70
Calls
3
make_regexp
Function · 0.85
parse_cmdline
Function · 0.70
update_file
Function · 0.70
Tested by
no test coverage detected