MCPcopy Create free account
hub / github.com/EasyIME/PIME / __repr__

Method __repr__

python/python3/tornado/locks.py:202–206  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

200 self._waiters = set() # type: Set[Future[None]]
201
202 def __repr__(self) -> str:
203 return "<%s %s>" % (
204 self.__class__.__name__,
205 "set" if self.is_set() else "clear",
206 )
207
208 def is_set(self) -> bool:
209 """Return ``True`` if the internal flag is true."""

Callers

nothing calls this directly

Calls 1

is_setMethod · 0.95

Tested by

no test coverage detected