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 # -----------------