Docstring updates and tweaks for epydoc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -23,12 +23,14 @@ class PyEventBinder(object):
|
||||
for et in self.evtType:
|
||||
target.Connect(id1, id2, et, function)
|
||||
|
||||
|
||||
def Unbind(self, target, id1, id2):
|
||||
"""Remove an event binding."""
|
||||
success = 0
|
||||
for et in self.evtType:
|
||||
success += target.Disconnect(id1, id2, et)
|
||||
return success != 0
|
||||
|
||||
|
||||
def __call__(self, *args):
|
||||
"""
|
||||
|
Reference in New Issue
Block a user