1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

[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 79e1d6ebd7 from master.
This commit is contained in:
Baptiste Mispelon
2014-01-22 22:17:32 +01:00
parent 8eca53f0be
commit 6bca149af5
11 changed files with 65 additions and 65 deletions

View File

@@ -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