diff --git a/test/completion/docstring.py b/test/completion/docstring.py new file mode 100644 index 00000000..8362630b --- /dev/null +++ b/test/completion/docstring.py @@ -0,0 +1,21 @@ +""" Test docstrings in functions and classes, which are used to infer types """ + +def f(a, b): + """ asdfasdf + :param a: blablabla + :type a: str + """ + #? str() + a + #? + b + +def g(a, b): + """ asdfasdf + Arguments: + a (str): blablabla + """ + #? str() + a + #? + b