MCPcopy Index your code
hub / github.com/python/cpython / get_from

Method get_from

Lib/mailbox.py:1731–1733  ·  view source on GitHub ↗

Return contents of "From " line.

(self)

Source from the content-addressed store, hash-verified

1729 Message.__init__(self, message)
1730
1731 def get_from(self):
1732 """Return contents of "From " line."""
1733 return self._from
1734
1735 def set_from(self, from_, time_=None):
1736 """Set "From " line, formatting and appending time_ if specified."""

Callers 9

_explain_toMethod · 0.95
_install_messageMethod · 0.80
test_add_from_stringMethod · 0.80
test_add_from_bytesMethod · 0.80
test_fromMethod · 0.80
_check_fromMethod · 0.80

Calls

no outgoing calls

Tested by 7

test_add_from_stringMethod · 0.64
test_add_from_bytesMethod · 0.64
test_fromMethod · 0.64
_check_fromMethod · 0.64