title: Email parsing: TypeError: parse() takes at least 2 arguments (2 given)
body: <p>I am getting the following error while calling a built-in function to parse an email in Python.</p>
  
  <pre><code>txt = parser.Parser.parse(fd, headersonly=False)
  </code></pre>
  
  <p>And the error i got is </p>
  
  <pre><code>TypeError: parse() takes at least 2 arguments (2 given).
  </code></pre>
  
  <p>Can anybody tell me the way to solve this problem?</p>