mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 12:00:13 +01:00
Add FunctionDef.hasOverloads()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -313,6 +313,13 @@ class FunctionDef(BaseDef):
|
||||
return None
|
||||
|
||||
|
||||
def hasOverloads(self):
|
||||
"""
|
||||
Returns True if there are any overloads that are not ignored.
|
||||
"""
|
||||
return bool([x for x in self.overloads if not x.ignored])
|
||||
|
||||
|
||||
def ignore(self, val=True):
|
||||
# If the item being ignored has overloads then try to reorder the
|
||||
# items so the primary item is not an ignored one.
|
||||
|
||||
Reference in New Issue
Block a user