Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/python/mypy
/ fail
Function
fail
mypy/dmypy/client.py:282–284 ·
view source on GitHub ↗
(msg: str)
Source
from the content-addressed store, hash-verified
280
281
282
def
fail(msg: str) -> NoReturn:
283
print(msg, file=sys.stderr)
284
sys.exit(2)
285
286
287
ActionFunction = Callable[[argparse.Namespace], None]
Callers
7
main
Function · 0.70
do_start
Function · 0.70
wait_for_server
Function · 0.70
do_status
Function · 0.70
do_stop
Function · 0.70
do_kill
Function · 0.70
check_output
Function · 0.70
Calls
2
print
Function · 0.85
exit
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…