summaryrefslogtreecommitdiff
path: root/docs/topics/forms
diff options
context:
space:
mode:
authorBaptiste Mispelon <bmispelon@gmail.com>2014-01-22 22:17:32 +0100
committerBaptiste Mispelon <bmispelon@gmail.com>2014-01-22 22:17:32 +0100
commit79e1d6ebd70898d514a44b85648e3d24104c4243 (patch)
tree68e29f7043e270c4716f7fc8a3c53ae6ba92bf0f /docs/topics/forms
parent5f9790072d52443aff9a0e04f1552f1e29489521 (diff)
Don't show `self` in the list of arguments of a method.
This is consistent with Python's official documentation and it's a sphinx recommendation too[1]. [1] http://sphinx-doc.org/markup/desc.html#dir-method Refs #21855.
Diffstat (limited to 'docs/topics/forms')
-rw-r--r--docs/topics/forms/formsets.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/forms/formsets.txt b/docs/topics/forms/formsets.txt
index 7fa17bead9..5b2478244d 100644
--- a/docs/topics/forms/formsets.txt
+++ b/docs/topics/forms/formsets.txt
@@ -167,7 +167,7 @@ As we can see, ``formset.errors`` is a list whose entries correspond to the
forms in the formset. Validation was performed for each of the two forms, and
the expected error message appears for the second item.
-.. method:: BaseFormSet.total_error_count(self)
+.. method:: BaseFormSet.total_error_count()
.. versionadded:: 1.6