summaryrefslogtreecommitdiffstats
path: root/Doc/howto
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-03-22 11:47:10 (GMT)
committerGeorg Brandl <georg@python.org>2008-03-22 11:47:10 (GMT)
commit9f6623255b4ac733bbb258be91db6f961f6b570f (patch)
tree1d6b274dc774c5d8a907fc7d229aa2e238235e6d /Doc/howto
parent09a7fe693333d8fca18320a71be06d543ef1f389 (diff)
downloadcpython-9f6623255b4ac733bbb258be91db6f961f6b570f.zip
cpython-9f6623255b4ac733bbb258be91db6f961f6b570f.tar.gz
cpython-9f6623255b4ac733bbb258be91db6f961f6b570f.tar.bz2
Test decimal.rst doctests as far as possible with sphinx doctest.
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: