Home
last modified time | relevance | path

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

/external/python/cpython3/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 …]
/external/python/cpython2/Lib/email/
Dparser.py56 def parse(self, fp, headersonly=False): argument
65 if headersonly:
74 def parsestr(self, text, headersonly=False): argument
82 return self.parse(StringIO(text), headersonly=headersonly)
87 def parse(self, fp, headersonly=True): argument
90 def parsestr(self, text, headersonly=True): argument
/external/python/cpython3/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*
/external/python/cpython2/Doc/library/
Demail.parser.rst128 .. method:: parse(fp[, headersonly])
141 Optional *headersonly* is a flag specifying whether to stop parsing after
146 The *headersonly* flag was added.
149 .. method:: parsestr(text[, headersonly])
156 Optional *headersonly* is as with the :meth:`parse` method.
159 The *headersonly* flag was added.
Demail.rst192 :meth:`~email.parser.Parser.parsestr` methods grew a *headersonly* argument.