Fixed example docstring

This commit is contained in:
Sidney Pham
2016-10-07 15:53:05 +11:00
parent 98a37e27bf
commit 5ad43199de
+1 -1
View File
@@ -104,7 +104,7 @@ In Python, *docstrings* describe modules, classes, and functions:
.. code-block:: python .. code-block:: python
def square_and_rooter(x): def square_and_rooter(x):
"""Returns the square root of self times self.""" """Return the square root of self times self."""
... ...
In general, follow the comment section of :pep:`8#comments` (the "Python Style In general, follow the comment section of :pep:`8#comments` (the "Python Style