diff --git a/test/completion/docstring.py b/test/completion/docstring.py index ca105302..89ecbe0a 100644 --- a/test/completion/docstring.py +++ b/test/completion/docstring.py @@ -83,6 +83,14 @@ def list_with_non_imports(lst): lst[1][10] +def two_dots(a): + """ + :type a: json.decoder.JSONDecoder + """ + #? ['raw_decode'] + a.raw_decode + + # sphinx returns def return_module_object(): """ @@ -92,6 +100,7 @@ def return_module_object(): #? ['join'] return_module_object().join + # ----------------- # epydoc style # -----------------