mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
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.
This commit is contained in:
parent
5f9790072d
commit
79e1d6ebd7
11 changed files with 71 additions and 71 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue