Syntax fixes for examples in the Doc/includes

This commit is contained in:
Senthil Kumaran 2010-10-17 11:42:21 +00:00
parent 134c35b191
commit c961322f4f
2 changed files with 4 additions and 4 deletions

View file

@ -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'])