Kaydet (Commit) b2efeff4 authored tarafından Sean Reifscheider's avatar Sean Reifscheider

Fixing the file call in the rfc822.Message replacement example.

üst 95ce1fcf
......@@ -2,7 +2,7 @@
from email.parser import Parser
# If the e-mail headers are in a file, uncomment this line:
#headers = Parser().parse(messagefile)
#headers = Parser().parse(open(messagefile, 'r'))
# Or for parsing headers in a string, use:
headers = Parser().parsestr('From: <user@example.com>\n'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment