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

Method __mailfrom

Lib/test/support/smtpd.py:225–228  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

223
224 @property
225 def __mailfrom(self):
226 warn("Access to __mailfrom attribute on SMTPChannel is deprecated, "
227 "use 'mailfrom' instead", DeprecationWarning, 2)
228 return self.mailfrom
229 @__mailfrom.setter
230 def __mailfrom(self, value):
231 warn("Setting __mailfrom attribute on SMTPChannel is deprecated, "

Callers

nothing calls this directly

Calls 1

warnFunction · 0.90

Tested by

no test coverage detected