mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
fix isSet in _exposed
This commit is contained in:
parent
0adfd93f6f
commit
80821f7cf4
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue