mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-16 01:30:07 +01:00
Don't write sip docstrings for functions that are operators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -537,7 +537,9 @@ from %s import *
|
||||
|
||||
def generateDocstring(self, item, stream, indent):
|
||||
item.pyDocstring = ""
|
||||
#return
|
||||
|
||||
if item.name.startswith('operator'):
|
||||
return # Apparently sip doesn't like operators to have docstrings...
|
||||
|
||||
# get the docstring text
|
||||
text = nci(extractors.flattenNode(item.briefDoc, False))
|
||||
|
||||
Reference in New Issue
Block a user