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

Method __repr__

Lib/multiprocessing/managers.py:1019–1026  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1017 def __init__(self, /, **kwds):
1018 self.__dict__.update(kwds)
1019 def __repr__(self):
1020 items = list(self.__dict__.items())
1021 temp = []
1022 for name, value in items:
1023 if not name.startswith('_'):
1024 temp.append('%s=%r' % (name, value))
1025 temp.sort()
1026 return '%s(%s)' % (self.__class__.__name__, ', '.join(temp))
1027
1028class Value(object):
1029 def __init__(self, typecode, value, lock=True):

Callers

nothing calls this directly

Calls 6

listClass · 0.85
itemsMethod · 0.45
startswithMethod · 0.45
appendMethod · 0.45
sortMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected