From d441a758de854ed05b495f613a9baa47e098b4d5 Mon Sep 17 00:00:00 2001 From: Brian Rosner Date: Wed, 27 Aug 2008 15:39:00 +0000 Subject: [PATCH] Corrected a couple of typos in docstrings of methods in BaseFormSet. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8630 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/forms/formsets.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django/forms/formsets.py b/django/forms/formsets.py index ef94b8f6b7..887f130347 100644 --- a/django/forms/formsets.py +++ b/django/forms/formsets.py @@ -119,7 +119,7 @@ class BaseFormSet(StrAndUnicode): 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 @@ class BaseFormSet(StrAndUnicode): 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__)