Created
August 27, 2017 03:08
-
-
Save kurtis318/2f2f1e19e13fcaac8777ba3023b24ee2 to your computer and use it in GitHub Desktop.
Pycharm auto function documentation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pycharm creates a template documentation for new functions. I did not know what they here. Found an example at this web site. | |
https://pypi.python.org/pypi/exdoc | |
Not sure exactly the content of the page itself but I now know how to specify the documentation in the Pycharm template. | |
def f(a, b=1, *args): | |
''' Simple function | |
: param a: First | |
: type a: int | |
: param b: Second | |
: type b: int | |
: param args: More numbers | |
: returns: nothing interesting | |
: rtype: bool | |
: raises ValueError: hopeless condition | |
''' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment