mirror of https://github.com/python/cpython
fix isSet in _exposed
This commit is contained in:
parent
0adfd93f6f
commit
80821f7cf4
|
@ -964,8 +964,7 @@ class ConditionProxy(AcquirerProxy):
|
|||
return self._callmethod('notify_all')
|
||||
|
||||
class EventProxy(BaseProxy):
|
||||
# XXX will Event.isSet name be available in Py3.0?
|
||||
_exposed_ = ('isSet', 'set', 'clear', 'wait')
|
||||
_exposed_ = ('is_set', 'set', 'clear', 'wait')
|
||||
def is_set(self):
|
||||
return self._callmethod('is_set')
|
||||
def set(self):
|
||||
|
|
Loading…
Reference in New Issue