diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2004-12-01 00:42:41 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2004-12-01 00:42:41 (GMT) |
commit | b69c49c2f1d93d213c0e3a239be10dcc578b90ba (patch) | |
tree | 02f7d12d52761d747adc028ef005d9149d3473db | |
parent | fd1c69e7ef95659bc8ce488b57d0a9ea425314e0 (diff) | |
download | cpython-b69c49c2f1d93d213c0e3a239be10dcc578b90ba.zip cpython-b69c49c2f1d93d213c0e3a239be10dcc578b90ba.tar.gz cpython-b69c49c2f1d93d213c0e3a239be10dcc578b90ba.tar.bz2 |
[Patch #1076365] Correction of name of Template class; add contributor
-rw-r--r-- | Doc/whatsnew/whatsnew24.tex | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/whatsnew/whatsnew24.tex b/Doc/whatsnew/whatsnew24.tex index 51b00b6..6be2cbd 100644 --- a/Doc/whatsnew/whatsnew24.tex +++ b/Doc/whatsnew/whatsnew24.tex @@ -227,7 +227,7 @@ will raise a \exception{KeyError}. There's also a \method{safe_substitute} 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 @@ fill character other than a space. \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 name \samp{None} is now a syntax error. 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} |