MCPcopy Index your code
hub / github.com/python/cpython / isSet

Method isSet

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

610 return self._flag
611
612 def isSet(self):
613 """Return true if and only if the internal flag is true.
614
615 This method is deprecated, use is_set() instead.
616
617 """
618 import warnings
619 warnings.warn('isSet() is deprecated, use is_set() instead',
620 DeprecationWarning, stacklevel=2)
621 return self.is_set()
622
623 def set(self):
624 """Set the internal flag to true.

Callers 1

Calls 2

is_setMethod · 0.95
warnMethod · 0.45

Tested by 1