summaryrefslogtreecommitdiffstats
path: root/Doc/howto
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/howto')
-rw-r--r--Doc/howto/functional.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/howto/functional.rst b/Doc/howto/functional.rst
index 7fc2bdf..2424c6f 100644
--- a/Doc/howto/functional.rst
+++ b/Doc/howto/functional.rst
@@ -271,6 +271,10 @@ iterator.
Calling :func:`iter` on a dictionary returns an iterator that will loop over the
dictionary's keys:
+.. not a doctest since dict ordering varies across Pythons
+
+::
+
>>> m = {'Jan': 1, 'Feb': 2, 'Mar': 3, 'Apr': 4, 'May': 5, 'Jun': 6,
... 'Jul': 7, 'Aug': 8, 'Sep': 9, 'Oct': 10, 'Nov': 11, 'Dec': 12}
>>> for key in m: