MCPcopy
hub / github.com/tornadoweb/tornado / is_set

Method is_set

tornado/locks.py:208–210  ·  view source on GitHub ↗

Return ``True`` if the internal flag is true.

(self)

Source from the content-addressed store, hash-verified

206 )
207
208 def is_set(self) -> bool:
209 """Return ``True`` if the internal flag is true."""
210 return self._value
211
212 def set(self) -> None:
213 """Set the internal flag to ``True``. All waiters are awakened.

Callers 3

__repr__Method · 0.95

Calls

no outgoing calls

Tested by 2