From 196fcdb4df66b03fc63bd7184449c4e4ba3f1ba1 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Wed, 26 Mar 2014 16:47:54 +0100 Subject: [PATCH] docstring param hints not working properly - test for #370 --- test/completion/docstring.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/test/completion/docstring.py b/test/completion/docstring.py index bde2e7e8..9dde0a48 100644 --- a/test/completion/docstring.py +++ b/test/completion/docstring.py @@ -43,6 +43,20 @@ def f(a, b): #? f() +# local classes -> github #370 +class ProgramNode(object): + def add_child(self, child): + pass + +def func(node): + """ + Do something with a ``node``. + + :type node: ProgramNode + """ + #? ProgramNode + node + # ----------------- # epydoc style # -----------------