mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
use the new API
This commit is contained in:
parent
b279b8a541
commit
0adfd93f6f
1 changed files with 1 additions and 1 deletions
|
@ -967,7 +967,7 @@ class EventProxy(BaseProxy):
|
|||
# XXX will Event.isSet name be available in Py3.0?
|
||||
_exposed_ = ('isSet', 'set', 'clear', 'wait')
|
||||
def is_set(self):
|
||||
return self._callmethod('isSet')
|
||||
return self._callmethod('is_set')
|
||||
def set(self):
|
||||
return self._callmethod('set')
|
||||
def clear(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue