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  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to