summaryrefslogtreecommitdiffstats
path: root/Doc/library/anydbm.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/anydbm.rst')
-rw-r--r--Doc/library/anydbm.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/anydbm.rst b/Doc/library/anydbm.rst
index 413b7de..f35a416 100644
--- a/Doc/library/anydbm.rst
+++ b/Doc/library/anydbm.rst
@@ -64,7 +64,7 @@ then prints out the contents of the database::
# Loop through contents. Other dictionary methods
# such as .keys(), .values() also work.
for k, v in db.iteritems():
- print k, '\t', v
+ print(k, '\t', v)
# Storing a non-string key or value will raise an exception (most
# likely a TypeError).