diff options
| author | Baptiste Mispelon <bmispelon@gmail.com> | 2014-01-22 22:17:32 +0100 |
|---|---|---|
| committer | Baptiste Mispelon <bmispelon@gmail.com> | 2014-01-22 22:17:32 +0100 |
| commit | 79e1d6ebd70898d514a44b85648e3d24104c4243 (patch) | |
| tree | 68e29f7043e270c4716f7fc8a3c53ae6ba92bf0f /docs/topics/forms | |
| parent | 5f9790072d52443aff9a0e04f1552f1e29489521 (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.txt | 2 |
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 |
