From 434de60350c22cff0bf70370ebb4a91115172021 Mon Sep 17 00:00:00 2001 From: David Halter Date: Tue, 23 Jul 2013 15:26:29 +0200 Subject: [PATCH] fixed docstring params --- jedi/docstrings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jedi/docstrings.py b/jedi/docstrings.py index 152a9a8c..611086f3 100644 --- a/jedi/docstrings.py +++ b/jedi/docstrings.py @@ -53,6 +53,8 @@ def follow_param(param): p = parsing.Parser(param_str, None, user_position, no_docstr=True) + if p.user_stmt is None: + return [] return evaluate.follow_statement(p.user_stmt) return []