/external/python/cpython3/Lib/email/ |
D | parser.py | 60 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__.py | 38 return Parser(*args, **kws).parsestr(s)
|
/external/python/cpython2/Lib/email/ |
D | parser.py | 74 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__.py | 57 return Parser(*args, **kws).parsestr(s)
|
/external/python/cpython2/Doc/library/ |
D | email.errors.rst | 29 :meth:`Parser.parsestr <email.parser.Parser.parsestr>` methods. 42 :meth:`Parser.parsestr <email.parser.Parser.parsestr>` methods.
|
D | email-examples.rst | 15 parsestr(message_as_string) methods of the Parser() class:
|
D | email.parser.rst | 149 .. method:: parsestr(text[, headersonly]) 170 ``Parser().parsestr(s)``. Optional *_class* and *strict* are interpreted as
|
D | email.rst | 192 :meth:`~email.parser.Parser.parsestr` methods grew a *headersonly* argument.
|
/external/python/cpython2/Doc/includes/ |
D | email-headers.py | 8 headers = Parser().parsestr('From: <user@example.com>\n'
|
/external/python/cpython3/Doc/includes/ |
D | email-headers.py | 10 headers = Parser(policy=default).parsestr(
|
/external/python/cpython3/Tools/i18n/ |
D | msgfmt.py | 147 charset = p.parsestr(msgstr.decode(encoding)).get_content_charset()
|
/external/python/cpython3/Lib/test/test_email/ |
D | test_policy.py | 284 p.parsestr('Subject: test\n\n')
|
D | test_email.py | 222 msg = parser.parsestr(msgdata) 1775 msg = Parser().parsestr(text) 2069 m = Parser().parsestr("""\
|
/external/python/cpython3/Doc/library/ |
D | email.parser.rst | 214 .. method:: parsestr(text, headersonly=False) 265 ``Parser().parsestr(s)``. *_class* and *policy* are interpreted as
|
/external/python/cpython2/Python/ |
D | ast.c | 40 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/ |
D | test_email.py | 205 msg = parser.parsestr(msgdata) 1196 msg = Parser().parsestr(text) 1490 m = Parser().parsestr("""\
|
D | test_email_renamed.py | 1131 msg = Parser().parsestr(text) 1425 m = Parser().parsestr("""\
|
/external/python/cpython3/Lib/http/ |
D | client.py | 215 return email.parser.Parser(_class=_class).parsestr(hstring)
|
/external/python/cpython3/Python/ |
D | ast.c | 5025 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()
|