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

Method __repr__

Lib/_dummy_thread.py:299–307  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

297 return self.locked_count != 0
298
299 def __repr__(self):
300 return "<%s %s.%s object owner=%s count=%s at %s>" % (
301 "locked" if self.locked_count else "unlocked",
302 self.__class__.__module__,
303 self.__class__.__qualname__,
304 get_ident() if self.locked_count else 0,
305 self.locked_count,
306 hex(id(self)),
307 )
308
309
310class _local:

Callers

nothing calls this directly

Calls 3

hexFunction · 0.85
idFunction · 0.85
get_identFunction · 0.70

Tested by

no test coverage detected