Fixed #7737 -- Corrected a comment in the testing docs to be PEP257 compliant. Thanks to msas@telia.com for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7913 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
dee7de0c23
commit
502e9a5ab4
|
@ -89,7 +89,7 @@ read Python's official documentation for the details.
|
||||||
For example, this function has a docstring that describes what it does::
|
For example, this function has a docstring that describes what it does::
|
||||||
|
|
||||||
def add_two(num):
|
def add_two(num):
|
||||||
"Adds 2 to the given number and returns the result."
|
"Return the result of adding two to the provided number."
|
||||||
return num + 2
|
return num + 2
|
||||||
|
|
||||||
Because tests often make great documentation, putting tests directly in
|
Because tests often make great documentation, putting tests directly in
|
||||||
|
|
Loading…
Reference in New Issue