Skip to content

Commit bddc345

Browse files
committed
Merge pull request realpython#691 from remcodraijer/patch-1
Changed summary line of docstring to follow PEP 0257
2 parents 9ddb9ab + 02d68a8 commit bddc345

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/writing/tests.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ A simple doctest in a function:
116116
.. code-block:: python
117117
118118
def square(x):
119-
"""Squares x.
119+
"""Return the square of x.
120120
121121
>>> square(2)
122122
4

0 commit comments

Comments
 (0)