Author: brosner
Date: 2008-08-27 10:39:00 -0500 (Wed, 27 Aug 2008)
New Revision: 8630

Modified:
   django/trunk/django/forms/formsets.py
Log:
Corrected a couple of typos in docstrings of methods in BaseFormSet.

Modified: django/trunk/django/forms/formsets.py
===================================================================
--- django/trunk/django/forms/formsets.py       2008-08-27 13:41:34 UTC (rev 
8629)
+++ django/trunk/django/forms/formsets.py       2008-08-27 15:39:00 UTC (rev 
8630)
@@ -119,7 +119,7 @@
     def _get_deleted_forms(self):
         """
         Returns a list of forms that have been marked for deletion. Raises an 
-        AttributeError is deletion is not allowed.
+        AttributeError if deletion is not allowed.
         """
         if not self.is_valid() or not self.can_delete:
             raise AttributeError("'%s' object has no attribute 
'deleted_forms'" % self.__class__.__name__)
@@ -140,7 +140,7 @@
     def _get_ordered_forms(self):
         """
         Returns a list of form in the order specified by the incoming data.
-        Raises an AttributeError is deletion is not allowed.
+        Raises an AttributeError if deletion is not allowed.
         """
         if not self.is_valid() or not self.can_order:
             raise AttributeError("'%s' object has no attribute 
'ordered_forms'" % self.__class__.__name__)


--~--~---------~--~----~------------~-------~--~----~
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