diff options
| author | Simon Charette <charette.s@gmail.com> | 2017-01-19 09:55:03 -0500 |
|---|---|---|
| committer | Simon Charette <charette.s@gmail.com> | 2017-01-19 11:26:26 -0500 |
| commit | 4c5ed3e683576ece880ae99398a1e7d8c5829617 (patch) | |
| tree | b9af0b5941e9f0ef242bcbd36ee8443f91a5323b /django/forms/formsets.py | |
| parent | 53f3d53ed413d44c88d7e83ee11cff113e84ff4d (diff) | |
Refs #23919 -- Removed __nonzero__() methods (for Python 2).
Thanks Tim for the review.
Diffstat (limited to 'django/forms/formsets.py')
| -rw-r--r-- | django/forms/formsets.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/django/forms/formsets.py b/django/forms/formsets.py index 18a8cabefa..1afb72fb85 100644 --- a/django/forms/formsets.py +++ b/django/forms/formsets.py @@ -78,9 +78,6 @@ class BaseFormSet: """All formsets have a management form which is not included in the length""" return True - def __nonzero__(self): # Python 2 compatibility - return type(self).__bool__(self) - @cached_property def management_form(self): """Returns the ManagementForm instance for this FormSet.""" |
