return self from ignore() so we can chain another operation on it

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2012-06-06 01:15:19 +00:00
parent 3426d72bc3
commit 18ee2640b5

View File

@@ -71,6 +71,7 @@ class BaseDef(object):
def ignore(self, val=True):
self.ignored = val
return self
def find(self, name):
@@ -395,6 +396,7 @@ class FunctionDef(BaseDef):
first.overloads = all[1:]
idx = parent.items.index(self)
parent.items[idx] = first
return self
def _findItems(self):