summaryrefslogtreecommitdiffstats
path: root/Doc/library/poplib.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/poplib.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/poplib.rst')
-rw-r--r--Doc/library/poplib.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/poplib.rst b/Doc/library/poplib.rst
index e9466b7..b462ec5 100644
--- a/Doc/library/poplib.rst
+++ b/Doc/library/poplib.rst
@@ -191,7 +191,7 @@ retrieves and prints all messages::
numMessages = len(M.list()[1])
for i in range(numMessages):
for j in M.retr(i+1)[1]:
- print j
+ print(j)
At the end of the module, there is a test section that contains a more extensive
example of usage.