Browse files

Fixed #7737 -- Corrected a comment in the testing docs to be PEP257 c…

…ompliant. Thanks to for the report.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent dee7de0 commit 502e9a5ab48d33f4901fb0d022a3fb20c3959bdc @freakboy3742 freakboy3742 committed Jul 13, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/testing.txt
@@ -89,7 +89,7 @@ read Python's official documentation for the details.
For example, this function has a docstring that describes what it does::
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
Because tests often make great documentation, putting tests directly in

0 comments on commit 502e9a5

Please sign in to comment.