[Python-checkins] python/dist/src/Doc/lib liblogging.tex, 1.33.2.1,
1.33.2.2
vsajip at users.sourceforge.net
vsajip at users.sourceforge.net
Thu Mar 31 22:23:11 CEST 2005
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24216
Modified Files:
Tag: release24-maint
liblogging.tex
Log Message:
Corrected SMTPHandler docs and added info about threadName attribute of LogRecord
Index: liblogging.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/liblogging.tex,v
retrieving revision 1.33.2.1
retrieving revision 1.33.2.2
diff -u -d -r1.33.2.1 -r1.33.2.2
--- liblogging.tex 3 Dec 2004 08:23:36 -0000 1.33.2.1
+++ liblogging.tex 31 Mar 2005 20:23:04 -0000 1.33.2.2
@@ -1133,8 +1133,7 @@
\begin{classdesc}{SMTPHandler}{mailhost, fromaddr, toaddrs, subject}
Returns a new instance of the \class{SMTPHandler} class. The
instance is initialized with the from and to addresses and subject
-line of the email. The \var{toaddrs} should be a list of strings without
-domain names (That's what the \var{mailhost} is for). To specify a
+line of the email. The \var{toaddrs} should be a list of strings. To specify a
non-standard SMTP port, use the (host, port) tuple format for the
\var{mailhost} argument. If you use a string, the standard SMTP port
is used.
@@ -1269,6 +1268,7 @@
\lineii{\%(msecs)d} {Millisecond portion of the time when the
\class{LogRecord} was created.}
\lineii{\%(thread)d} {Thread ID (if available).}
+\lineii{\%(threadName)s} {Thread name (if available).}
\lineii{\%(process)d} {Process ID (if available).}
\lineii{\%(message)s} {The logged message, computed as \code{msg \% args}.}
\end{tableii}
More information about the Python-checkins
mailing list