Skip to content

Commit 5ad4319

Browse files
committed
Fixed example docstring
1 parent 98a37e2 commit 5ad4319

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/writing/documentation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ In Python, *docstrings* describe modules, classes, and functions:
104104
.. code-block:: python
105105
106106
def square_and_rooter(x):
107-
"""Returns the square root of self times self."""
107+
"""Return the square root of self times self."""
108108
...
109109
110110
In general, follow the comment section of :pep:`8#comments` (the "Python Style

0 commit comments

Comments
 (0)