Home
last modified time | relevance | path

Searched refs:headersonly (Results 1 – 2 of 2) sorted by relevance

/third_party/python/Lib/email/
Dparser.py41 def parse(self, fp, headersonly=False): argument
50 if headersonly:
59 def parsestr(self, text, headersonly=False): argument
67 return self.parse(StringIO(text), headersonly=headersonly)
72 def parse(self, fp, headersonly=True): argument
75 def parsestr(self, text, headersonly=True): argument
99 def parse(self, fp, headersonly=False): argument
109 return self.parser.parse(fp, headersonly)
114 def parsebytes(self, text, headersonly=False): argument
123 return self.parser.parsestr(text, headersonly)
[all …]
/third_party/python/Doc/library/
Demail.parser.rst154 .. method:: parse(fp, headersonly=False)
169 Optional *headersonly* is a flag specifying whether to stop parsing after
174 .. method:: parsebytes(bytes, headersonly=False)
181 Optional *headersonly* is as with the :meth:`parse` method.
188 Exactly like :class:`BytesParser`, except that *headersonly*
203 .. method:: parse(fp, headersonly=False)
214 .. method:: parsestr(text, headersonly=False)
221 Optional *headersonly* is as with the :meth:`parse` method.
226 Exactly like :class:`Parser`, except that *headersonly*