From 478140caabc8dd963b2423dc7ee463259fd1f08d Mon Sep 17 00:00:00 2001 From: Colin Date: Sat, 21 Dec 2013 14:23:41 +0100 Subject: [PATCH] Add a comment --- jedi/builtin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/jedi/builtin.py b/jedi/builtin.py index d2b5ce23..85f1f745 100644 --- a/jedi/builtin.py +++ b/jedi/builtin.py @@ -352,6 +352,7 @@ 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