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:
Robin Dunn
2012-03-29 16:58:54 +00:00
parent 003fb0a804
commit a143905fef

View File

@@ -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))