summaryrefslogtreecommitdiff
path: root/Doc/includes/email-headers.py
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2010-10-17 11:42:21 +0000
committerSenthil Kumaran <orsenthil@gmail.com>2010-10-17 11:42:21 +0000
commitc961322f4fb8f3b67096b164aa49eec62eef5165 (patch)
tree79b071cc93c4029fe9a7f83bbb0a023208db32b5 /Doc/includes/email-headers.py
parent134c35b1917429a3bdd6e3a486b46635d70682fd (diff)
downloadcpython-git-c961322f4fb8f3b67096b164aa49eec62eef5165.tar.gz
Syntax fixes for examples in the Doc/includes
Diffstat (limited to 'Doc/includes/email-headers.py')
-rw-r--r--Doc/includes/email-headers.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/includes/email-headers.py b/Doc/includes/email-headers.py
index 664c3ff1ca..a53317dbd8 100644
--- a/Doc/includes/email-headers.py
+++ b/Doc/includes/email-headers.py
@@ -12,6 +12,6 @@ headers = Parser().parsestr('From: <user@example.com>\n'
'Body would go here\n')
# Now the header items can be accessed as a dictionary:
-print 'To: %s' % headers['to']
-print 'From: %s' % headers['from']
-print 'Subject: %s' % headers['subject']
+print('To: %s' % headers['to'])
+print('From: %s' % headers['from'])
+print('Subject: %s' % headers['subject'])