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

Method __server

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

Source from the content-addressed store, hash-verified

179 # properties for backwards-compatibility
180 @property
181 def __server(self):
182 warn("Access to __server attribute on SMTPChannel is deprecated, "
183 "use 'smtp_server' instead", DeprecationWarning, 2)
184 return self.smtp_server
185 @__server.setter
186 def __server(self, value):
187 warn("Setting __server attribute on SMTPChannel is deprecated, "

Callers

nothing calls this directly

Calls 1

warnFunction · 0.90

Tested by

no test coverage detected