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:
@@ -873,7 +873,7 @@ systems and coordinate transformation::
|
||||
A string representing this envelope as a polygon in WKT format.
|
||||
|
||||
|
||||
.. method:: expand_to_include(self, *args)
|
||||
.. method:: expand_to_include(*args)
|
||||
|
||||
Coordinate System Objects
|
||||
=========================
|
||||
|
||||
Reference in New Issue
Block a user