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

Method __repr__

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

Source from the content-addressed store, hash-verified

475 self._value = value
476
477 def __repr__(self):
478 cls = self.__class__
479 return (f"<{cls.__module__}.{cls.__qualname__} at {id(self):#x}:"
480 f" value={self._value}>")
481
482 def acquire(self, blocking=True, timeout=None):
483 """Acquire a semaphore, decrementing the internal counter by one.

Callers

nothing calls this directly

Calls 1

idFunction · 0.85

Tested by

no test coverage detected