added docstring tests (forgot to add them a while ago), important for #87

This commit is contained in:
David Halter
2012-12-26 23:08:34 +01:00
parent 95a435f946
commit e057387910

View File

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