MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / __repr__

Method __repr__

tools/python-3.11.9-amd64/Lib/weakref.py:625–632  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

623 info.atexit = bool(value)
624
625 def __repr__(self):
626 info = self._registry.get(self)
627 obj = info and info.weakref()
628 if obj is None:
629 return '<%s object at %#x; dead>' % (type(self).__name__, id(self))
630 else:
631 return '<%s object at %#x; for %r at %#x>' % \
632 (type(self).__name__, id(self), type(obj).__name__, id(obj))
633
634 @classmethod
635 def _select_for_exit(cls):

Callers

nothing calls this directly

Calls 3

typeClass · 0.50
idFunction · 0.50
getMethod · 0.45

Tested by

no test coverage detected