1
0
forked from VimPlug/jedi

Merge pull request #358 from ColinDuquesnoy/dev

Fix for pyqt errors with python 2.7
This commit is contained in:
Dave Halter
2013-12-22 15:19:36 -08:00

View File

@@ -352,6 +352,9 @@ def _parse_function_doc(func):
# get full string, parse round parentheses: def func(a, (b,c))
try:
# unbound methods such as pyqtSignals have no __name__
if not hasattr(func, "__name__"):
return '', 'pass'
count = 0
debug.dbg(func, func.__name__, doc)
start = doc.index('(')