From c961322f4fb8f3b67096b164aa49eec62eef5165 Mon Sep 17 00:00:00 2001 From: Senthil Kumaran Date: Sun, 17 Oct 2010 11:42:21 +0000 Subject: Syntax fixes for examples in the Doc/includes --- Doc/includes/email-headers.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Doc/includes/email-headers.py') 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: \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']) -- cgit v1.2.1