mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 23:00:18 +00:00
Merge pull request #691 from remcodraijer/patch-1
Changed summary line of docstring to follow PEP 0257
This commit is contained in:
@@ -116,7 +116,7 @@ A simple doctest in a function:
|
||||
.. code-block:: python
|
||||
|
||||
def square(x):
|
||||
"""Squares x.
|
||||
"""Return the square of x.
|
||||
|
||||
>>> square(2)
|
||||
4
|
||||
|
||||
Reference in New Issue
Block a user