Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ fail
Function
fail
Doc/includes/ndiff.py:40–44 ·
view source on GitHub ↗
(msg)
Source
from the content-addressed store, hash-verified
38
import
difflib, sys
39
40
def
fail(msg):
41
out = sys.stderr.write
42
out(msg +
"\n\n"
)
43
out(__doc__)
44
return
0
45
46
# open a file & return the file object; gripe and return 0 if it
47
# couldn't be opened
Callers
2
fopen
Function · 0.70
main
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…