mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 11:30:06 +01:00
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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user