MCPcopy 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

38import difflib, sys
39
40def 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

fopenFunction · 0.70
mainFunction · 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…