Author: russellm
Date: 2008-07-13 03:45:17 -0500 (Sun, 13 Jul 2008)
New Revision: 7913

Modified:
   django/trunk/docs/testing.txt
Log:
Fixed #7737 -- Corrected a comment in the testing docs to be PEP257 compliant. 
Thanks to [EMAIL PROTECTED] for the report.

Modified: django/trunk/docs/testing.txt
===================================================================
--- django/trunk/docs/testing.txt       2008-07-13 01:22:31 UTC (rev 7912)
+++ django/trunk/docs/testing.txt       2008-07-13 08:45:17 UTC (rev 7913)
@@ -89,7 +89,7 @@
     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


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to