MCPcopy Index your code
hub / github.com/RustPython/RustPython / __repr__

Method __repr__

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

Source from the content-addressed store, hash-verified

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