[Python-checkins] cpython (3.2): Fix markup in smtpd.rst.
ezio.melotti
python-checkins at python.org
Thu Sep 20 08:09:40 CEST 2012
http://hg.python.org/cpython/rev/c74203b33c4e
changeset: 79058:c74203b33c4e
branch: 3.2
parent: 79054:60d135893ee0
user: Ezio Melotti <ezio.melotti at gmail.com>
date: Thu Sep 20 09:06:51 2012 +0300
summary:
Fix markup in smtpd.rst.
files:
Doc/library/smtpd.rst | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/Doc/library/smtpd.rst b/Doc/library/smtpd.rst
--- a/Doc/library/smtpd.rst
+++ b/Doc/library/smtpd.rst
@@ -104,12 +104,13 @@
.. attribute:: addr
Holds the address of the client, the second value returned by
- socket.accept()
+ :func:`socket.accept <socket.socket.accept>`
.. attribute:: received_lines
Holds a list of the line strings (decoded using UTF-8) received from
- the client. The lines have their "\\r\\n" line ending translated to "\\n".
+ the client. The lines have their ``"\r\n"`` line ending translated to
+ ``"\n"``.
.. attribute:: smtp_state
@@ -134,12 +135,12 @@
.. attribute:: received_data
Holds a string containing all of the data sent by the client during the
- DATA state, up to but not including the terminating "\r\n.\r\n".
+ DATA state, up to but not including the terminating ``"\r\n.\r\n"``.
.. attribute:: fqdn
Holds the fully-qualified domain name of the server as returned by
- ``socket.getfqdn()``.
+ :func:`socket.getfqdn`.
.. attribute:: peer
@@ -166,5 +167,5 @@
:attr:`received_data`, but not the greeting.
DATA Sets the internal state to :attr:`DATA` and stores remaining lines
from the client in :attr:`received_data` until the terminator
- "\r\n.\r\n" is received.
+ ``"\r\n.\r\n"`` is received.
======== ===================================================================
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list