MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / parse

Method parse

Lib/email/parser.py:56–72  ·  view source on GitHub ↗

Create a message structure from the data in a file. Reads all the data from the file and returns the root of the message structure. Optional headersonly is a flag specifying whether to stop parsing after reading the headers or not. The default is False, meaning it

(self, fp, headersonly=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 8

parsestrMethod · 0.95
_check_rst_dataMethod · 0.95
message_from_fileFunction · 0.45
parseMethod · 0.45
test_header_parserMethod · 0.45
test_crlf_separationMethod · 0.45
test_header_parserMethod · 0.45
test_crlf_separationMethod · 0.45

Calls 5

_set_headersonlyMethod · 0.95
feedMethod · 0.95
closeMethod · 0.95
FeedParserClass · 0.90
readMethod · 0.45

Tested by 4

test_header_parserMethod · 0.36
test_crlf_separationMethod · 0.36
test_header_parserMethod · 0.36
test_crlf_separationMethod · 0.36