summaryrefslogtreecommitdiffstats
path: root/Doc/library/email.message.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/email.message.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/email.message.rst')
-rw-r--r--Doc/library/email.message.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/email.message.rst b/Doc/library/email.message.rst
index e494a71..7f3cf6f 100644
--- a/Doc/library/email.message.rst
+++ b/Doc/library/email.message.rst
@@ -167,7 +167,7 @@ included in the mapping interface.
the ``in`` operator, e.g.::
if 'message-id' in myMessage:
- print 'Message-ID:', myMessage['message-id']
+ print('Message-ID:', myMessage['message-id'])
.. method:: Message.__getitem__(name)
@@ -458,7 +458,7 @@ Here are some additional useful methods:
structure::
>>> for part in msg.walk():
- ... print part.get_content_type()
+ ... print(part.get_content_type())
multipart/report
text/plain
message/delivery-status