MCPcopy Index your code
hub / github.com/python/cpython / _strerror

Function _strerror

Lib/test/support/asyncore.py:74–80  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

72 socket_map = {}
73
74def _strerror(err):
75 try:
76 return os.strerror(err)
77 except (ValueError, OverflowError, NameError):
78 if err in errorcode:
79 return errorcode[err]
80 return "Unknown error %s" %err
81
82class ExitNow(Exception):
83 pass

Callers 1

handle_connect_eventMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…