MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / isSet

Method isSet

tools/python-3.11.9-amd64/Lib/threading.py:579–588  ·  view source on GitHub ↗

Return true if and only if the internal flag is true. This method is deprecated, use is_set() instead.

(self)

Source from the content-addressed store, hash-verified

577 return self._flag
578
579 def isSet(self):
580 """Return true if and only if the internal flag is true.
581
582 This method is deprecated, use is_set() instead.
583
584 """
585 import warnings
586 warnings.warn('isSet() is deprecated, use is_set() instead',
587 DeprecationWarning, stacklevel=2)
588 return self.is_set()
589
590 def set(self):
591 """Set the internal flag to true.

Callers

nothing calls this directly

Calls 2

is_setMethod · 0.95
warnMethod · 0.45

Tested by

no test coverage detected