Hi

If I have a script called main.py and document a function in it:

def get_value(x):
    """
    Some text ...
    :param x:     Some value
    :returns:      Something useful
    """

What is the most basic way of showing those docstrings at the Python prompt?

For getting started with documentation, is Sphinx a good way to go, or would 
you recommend something simpler?

Best regards

David

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to