MCPcopy Index your code
hub / github.com/RustPython/RustPython / __server

Method __server

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

warnFunction · 0.90

Tested by

no test coverage detected