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

Method __repr__

Lib/threading.py:567–570  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

565 self._initial_value = value
566
567 def __repr__(self):
568 cls = self.__class__
569 return (f"<{cls.__module__}.{cls.__qualname__} at {id(self):#x}:"
570 f" value={self._value}/{self._initial_value}>")
571
572 def release(self, n=1):
573 """Release a semaphore, incrementing the internal counter by one or more.

Callers

nothing calls this directly

Calls 1

idFunction · 0.85

Tested by

no test coverage detected