Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
b69c49c2
Commit
b69c49c2
authored
Dec 01, 2004
by
Andrew M. Kuchling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Patch #1076365] Correction of name of Template class; add contributor
parent
fd1c69e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
Doc/whatsnew/whatsnew24.tex
Doc/whatsnew/whatsnew24.tex
+3
-2
No files found.
Doc/whatsnew/whatsnew24.tex
View file @
b69c49c2
...
...
@@ -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.
Safe
Template('
$
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
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment