summaryrefslogtreecommitdiffstats
path: root/Doc/library/dbhash.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-09-04 07:15:32 (GMT)
committerGeorg Brandl <georg@python.org>2007-09-04 07:15:32 (GMT)
commit6911e3ce3f72af759908b869b73391ea00d328e2 (patch)
tree5d4ff6070cb3f0f46f0a31ee4805b41053a06b48 /Doc/library/dbhash.rst
parentc9879246a2dd33a217960496fdf4606cb117c6a6 (diff)
downloadcpython-6911e3ce3f72af759908b869b73391ea00d328e2.zip
cpython-6911e3ce3f72af759908b869b73391ea00d328e2.tar.gz
cpython-6911e3ce3f72af759908b869b73391ea00d328e2.tar.bz2
Convert all print statements in the docs.
Diffstat (limited to 'Doc/library/dbhash.rst')
-rw-r--r--Doc/library/dbhash.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/dbhash.rst b/Doc/library/dbhash.rst
index b5c9590..aadb14f 100644
--- a/Doc/library/dbhash.rst
+++ b/Doc/library/dbhash.rst
@@ -96,9 +96,9 @@ available in addition to the standard methods.
prints every key in the database ``db``, without having to create a list in
memory that contains them all::
- print db.first()
+ print(db.first())
for i in range(1, len(db)):
- print db.next()
+ print(db.next())
.. method:: dbhash.previous()