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

Method __str__

Lib/multiprocessing/managers.py:931–938  ·  view source on GitHub ↗

Return representation of the referent (or a fall-back if that fails)

(self)

Source from the content-addressed store, hash-verified

929 (type(self).__name__, self._token.typeid, id(self))
930
931 def __str__(self):
932 '''
933 Return representation of the referent (or a fall-back if that fails)
934 '''
935 try:
936 return self._callmethod('__repr__')
937 except Exception:
938 return repr(self)[:-1] + "; '__str__()' failed>"
939
940#
941# Function used for unpickling

Callers

nothing calls this directly

Calls 1

_callmethodMethod · 0.95

Tested by

no test coverage detected