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

Method isSet

Lib/threading.py:619–628  ·  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

617 return self._flag
618
619 def isSet(self):
620 """Return true if and only if the internal flag is true.
621
622 This method is deprecated, use is_set() instead.
623
624 """
625 import warnings
626 warnings.warn('isSet() is deprecated, use is_set() instead',
627 DeprecationWarning, stacklevel=2)
628 return self.is_set()
629
630 def set(self):
631 """Set the internal flag to true.

Callers 1

Calls 2

is_setMethod · 0.95
warnMethod · 0.45

Tested by 1