Sunil Tech
2015-06-08 09:34:05 UTC
Hi Team,
what is the standard way of using docstrings?
for example (Sphinx)
def test(x):
"""
A dummy method
Args:
x (int): first argument
Returns:
"true or false"
"""
and if the method has no arguments?
how should be the docstring?
Thanks & Regards,
Sunil. G
_______________________________________________
Tutor maillist - ***@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
what is the standard way of using docstrings?
for example (Sphinx)
def test(x):
"""
A dummy method
Args:
x (int): first argument
Returns:
"true or false"
"""
and if the method has no arguments?
how should be the docstring?
Thanks & Regards,
Sunil. G
_______________________________________________
Tutor maillist - ***@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor