Skip to content

Commit ef26c66

Browse files
authored
Merge pull request realpython#752 from sidney-pham/master
Fixed example docstring
2 parents 07bb0d9 + 5ad4319 commit ef26c66

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)