From 79e1d6ebd70898d514a44b85648e3d24104c4243 Mon Sep 17 00:00:00 2001 From: Baptiste Mispelon Date: Wed, 22 Jan 2014 22:17:32 +0100 Subject: 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. --- docs/topics/forms/formsets.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/topics/forms') 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 -- cgit v1.3