summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/python3.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/topics/python3.txt b/docs/topics/python3.txt
index 7c1cb53150..3f799edac7 100644
--- a/docs/topics/python3.txt
+++ b/docs/topics/python3.txt
@@ -120,3 +120,18 @@ If you need different code in Python 2 and Python 3, check :data:`six.PY3`::
This is a last resort solution when :mod:`six` doesn't provide an appropriate
function.
+
+.. module:: django.utils.six
+
+Customizations of six
+=====================
+
+The version of six bundled with Django includes a few additional tools:
+
+.. function:: iterlists(MultiValueDict)
+
+ Returns an iterator over the lists of values of a
+ :class:`~django.utils.datastructures.MultiValueDict`. This replaces
+ :meth:`~django.utils.datastructures.MultiValueDict.iterlists()` on Python
+ 2 and :meth:`~django.utils.datastructures.MultiValueDict.lists()` on
+ Python 3.