mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
[1.10.x] Fixed #27592 -- Doc'd that QueryDict iter methods are Python 2 only.
Backport of 2e9fa516fd from master
This commit is contained in:
@@ -487,11 +487,15 @@ a subclass of dictionary. Exceptions are outlined here:
|
||||
:meth:`QueryDict.items()` this uses the same last-value logic as
|
||||
:meth:`QueryDict.__getitem__()`.
|
||||
|
||||
Available only on Python 2.
|
||||
|
||||
.. method:: QueryDict.iterlists()
|
||||
|
||||
Like :meth:`QueryDict.iteritems()` except it includes all values, as a list,
|
||||
for each member of the dictionary.
|
||||
|
||||
Available only on Python 2.
|
||||
|
||||
.. method:: QueryDict.values()
|
||||
|
||||
Just like the standard dictionary ``values()`` method, except this uses the
|
||||
@@ -505,6 +509,8 @@ a subclass of dictionary. Exceptions are outlined here:
|
||||
|
||||
Just like :meth:`QueryDict.values()`, except an iterator.
|
||||
|
||||
Available only on Python 2.
|
||||
|
||||
In addition, ``QueryDict`` has the following methods:
|
||||
|
||||
.. method:: QueryDict.copy()
|
||||
|
||||
Reference in New Issue
Block a user