diff options
author | R David Murray <rdmurray@bitdance.com> | 2016-09-07 18:02:11 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2016-09-07 18:02:11 (GMT) |
commit | 2195d537b37c1bc12759c6ed85aba2846e7ab574 (patch) | |
tree | cf06936bb9056758d313782b981d408020b5f06c /Doc/library/smtpd.rst | |
parent | 91afe7ec9fc82328bc17ab6d7312489dffac2223 (diff) | |
parent | 6b46ec7733ad7391b9e008d2b273c556f140f88e (diff) | |
download | cpython-2195d537b37c1bc12759c6ed85aba2846e7ab574.zip cpython-2195d537b37c1bc12759c6ed85aba2846e7ab574.tar.gz cpython-2195d537b37c1bc12759c6ed85aba2846e7ab574.tar.bz2 |
Merge: #26209: Clarify type of *localaddr*/*remoteadr* in smtpd docs.
Diffstat (limited to 'Doc/library/smtpd.rst')
-rw-r--r-- | Doc/library/smtpd.rst | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/library/smtpd.rst b/Doc/library/smtpd.rst index 1c255dd..e383201 100644 --- a/Doc/library/smtpd.rst +++ b/Doc/library/smtpd.rst @@ -32,9 +32,10 @@ SMTPServer Objects map=None, enable_SMTPUTF8=False, decode_data=False) Create a new :class:`SMTPServer` object, which binds to local address - *localaddr*. It will treat *remoteaddr* as an upstream SMTP relayer. It - inherits from :class:`asyncore.dispatcher`, and so will insert itself into - :mod:`asyncore`'s event loop on instantiation. + *localaddr*. It will treat *remoteaddr* as an upstream SMTP relayer. Both + *localaddr* and *remoteaddr* should be a :ref:`(host, port) <host_port>` + tuple. The object inherits from :class:`asyncore.dispatcher`, and so will + insert itself into :mod:`asyncore`'s event loop on instantiation. *data_size_limit* specifies the maximum number of bytes that will be accepted in a ``DATA`` command. A value of ``None`` or ``0`` means no |