[Python-checkins]
python/dist/src/Doc/whatsnew whatsnew24.tex, 1.119, 1.120
akuchling at users.sourceforge.net
akuchling at users.sourceforge.net
Wed Dec 1 01:42:44 CET 2004
Update of /cvsroot/python/python/dist/src/Doc/whatsnew
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19639
Modified Files:
whatsnew24.tex
Log Message:
[Patch #1076365] Correction of name of Template class; add contributor
Index: whatsnew24.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/whatsnew/whatsnew24.tex,v
retrieving revision 1.119
retrieving revision 1.120
diff -u -d -r1.119 -r1.120
--- whatsnew24.tex 30 Nov 2004 14:42:24 -0000 1.119
+++ whatsnew24.tex 1 Dec 2004 00:42:41 -0000 1.120
@@ -227,7 +227,7 @@
method that ignores missing keys:
\begin{verbatim}
->>> t = string.SafeTemplate('$page: $title')
+>>> t = string.Template('$page: $title')
>>> t.safe_substitute({'page':3})
u'3: $title'
\end{verbatim}
@@ -881,6 +881,7 @@
\item Strings also gained an \method{rsplit()} method that
works like the \method{split()} method but splits from the end of
the string.
+(Contributed by Sean Reifschneider.)
\begin{verbatim}
>>> 'www.python.org'.split('.', 1)
@@ -1729,6 +1730,6 @@
The author would like to thank the following people for offering
suggestions, corrections and assistance with various drafts of this
article: Koray Can, Hye-Shik Chang, Michael Dyck, Raymond Hettinger,
-Brian Hurt, Hamish Lawson, Fredrik Lundh.
+Brian Hurt, Hamish Lawson, Fredrik Lundh, Sean Reifschneider.
\end{document}
More information about the Python-checkins
mailing list