diff options
| author | Tim Graham <timograham@gmail.com> | 2016-12-14 07:28:45 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-12-14 07:30:09 -0500 |
| commit | 7ff301ca005aeca03119dd37406decda7e794f96 (patch) | |
| tree | 45d3b9fc9293b7c467ec301b3f3cb095506f9d85 | |
| parent | ce9f56bb9cb8147d13508a1334e41d2faac4ab91 (diff) | |
[1.10.x] Fixed #27592 -- Doc'd that QueryDict iter methods are Python 2 only.
Backport of 2e9fa516fde57fd58405481034a5a08b3746b257 from master
| -rw-r--r-- | docs/ref/request-response.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt index 64d26b3102..dc347ab4f7 100644 --- a/docs/ref/request-response.txt +++ b/docs/ref/request-response.txt @@ -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() |
