Home
last modified time | relevance | path

Searched refs:parsestr (Results 1 – 19 of 19) sorted by relevance

/external/python/cpython3/Lib/email/
Dparser.py60 def parsestr(self, text, headersonly=False): member in Parser
76 def parsestr(self, text, headersonly=True): member in HeaderParser
77 return Parser.parsestr(self, text, True)
124 return self.parser.parsestr(text, headersonly)
D__init__.py38 return Parser(*args, **kws).parsestr(s)
/external/python/cpython2/Lib/email/
Dparser.py74 def parsestr(self, text, headersonly=False): member in Parser
90 def parsestr(self, text, headersonly=True): member in HeaderParser
91 return Parser.parsestr(self, text, True)
D__init__.py57 return Parser(*args, **kws).parsestr(s)
/external/python/cpython2/Doc/library/
Demail.errors.rst29 :meth:`Parser.parsestr <email.parser.Parser.parsestr>` methods.
42 :meth:`Parser.parsestr <email.parser.Parser.parsestr>` methods.
Demail-examples.rst15 parsestr(message_as_string) methods of the Parser() class:
Demail.parser.rst149 .. method:: parsestr(text[, headersonly])
170 ``Parser().parsestr(s)``. Optional *_class* and *strict* are interpreted as
Demail.rst192 :meth:`~email.parser.Parser.parsestr` methods grew a *headersonly* argument.
/external/python/cpython2/Doc/includes/
Demail-headers.py8 headers = Parser().parsestr('From: <user@example.com>\n'
/external/python/cpython3/Doc/includes/
Demail-headers.py10 headers = Parser(policy=default).parsestr(
/external/python/cpython3/Tools/i18n/
Dmsgfmt.py147 charset = p.parsestr(msgstr.decode(encoding)).get_content_charset()
/external/python/cpython3/Lib/test/test_email/
Dtest_policy.py284 p.parsestr('Subject: test\n\n')
Dtest_email.py222 msg = parser.parsestr(msgdata)
1775 msg = Parser().parsestr(text)
2069 m = Parser().parsestr("""\
/external/python/cpython3/Doc/library/
Demail.parser.rst214 .. method:: parsestr(text, headersonly=False)
265 ``Parser().parsestr(s)``. *_class* and *policy* are interpreted as
/external/python/cpython2/Python/
Dast.c40 static PyObject *parsestr(struct compiling *, const node *n, const char *);
3459 parsestr(struct compiling *c, const node *n, const char *s) in parsestr() function
3558 if ((v = parsestr(c, n, STR(CHILD(n, 0)))) != NULL) { in parsestrplus()
3562 s = parsestr(c, n, STR(CHILD(n, i))); in parsestrplus()
/external/python/cpython2/Lib/email/test/
Dtest_email.py205 msg = parser.parsestr(msgdata)
1196 msg = Parser().parsestr(text)
1490 m = Parser().parsestr("""\
Dtest_email_renamed.py1131 msg = Parser().parsestr(text)
1425 m = Parser().parsestr("""\
/external/python/cpython3/Lib/http/
Dclient.py215 return email.parser.Parser(_class=_class).parsestr(hstring)
/external/python/cpython3/Python/
Dast.c5025 parsestr(struct compiling *c, const node *n, int *bytesmode, int *rawmode, in parsestr() function
5152 if (parsestr(c, CHILD(n, i), &this_bytesmode, &this_rawmode, &s, in parsestrplus()