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:59:55 +0100
commit6bca149af5b8e2d6fb6fe19bdb53904f07248033 (patch)
tree7a121ab9550a1ac60855296a55426c5719de9fd1 /docs/topics/forms
parent8eca53f0bef783e5c11877fe18a6651543605af1 (diff)
[1.6.x] 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. Backport of 79e1d6ebd70898d514a44b85648e3d24104c4243 from master.
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 470d9f52e4..14df0ea70e 100644
--- a/docs/topics/forms/formsets.txt
+++ b/docs/topics/forms/formsets.txt
@@ -166,7 +166,7 @@ the expected error message appears for the second item.
.. currentmodule:: django.forms.formsets.BaseFormSet
-.. method:: total_error_count(self)
+.. method:: total_error_count()
.. versionadded:: 1.6