From 90fffd883ec739e54021dccf29c68eaa069efc47 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Fri, 3 Feb 2017 17:30:58 +0100 Subject: [PATCH] Clean up the function docstring. --- jedi/parser/tree.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jedi/parser/tree.py b/jedi/parser/tree.py index 4df4ee06..52b5a560 100644 --- a/jedi/parser/tree.py +++ b/jedi/parser/tree.py @@ -969,10 +969,10 @@ class Function(ClassOrFunc): 0) 1) 2) parameter list (including open-paren and close-paren s) - 3) - 4) Node() representing function body - 5) ?? - 6) annotation (if present) + 3 or 5) + 4 or 6) Node() representing function body + 3) -> (if annotation is also present) + 4) annotation (if present) """ type = 'funcdef'