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
1d5e7a23
Commit
1d5e7a23
authored
Nov 18, 2003
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch #843088: Fix typos. Backported to 2.3.
parent
9d0ffb5b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Doc/lib/libfuncs.tex
Doc/lib/libfuncs.tex
+1
-1
Doc/lib/libstring.tex
Doc/lib/libstring.tex
+2
-2
No files found.
Doc/lib/libfuncs.tex
View file @
1d5e7a23
...
...
@@ -971,7 +971,7 @@ class C:
\versionadded
{
2.3
}
\end{funcdesc}
\begin{funcdesc}
{
super
}{
type
\optional
{
object-or-type
}}
\begin{funcdesc}
{
super
}{
type
\optional
{
,
object-or-type
}}
Return the superclass of
\var
{
type
}
. If the second argument is omitted
the super object returned is unbound. If the second argument is an
object,
\code
{
isinstance(
\var
{
obj
}
,
\var
{
type
}
)
}
must be true. If
...
...
Doc/lib/libstring.tex
View file @
1d5e7a23
...
...
@@ -300,9 +300,9 @@ parameter cannot be passed in earlier 2.2 versions]{2.2.3}
correctly.
\end{funcdesc}
\begin{funcdesc}
{
replace
}{
str, old, new
\optional
{
, max
split
}}
\begin{funcdesc}
{
replace
}{
str, old, new
\optional
{
, max
replace
}}
Return a copy of string
\var
{
str
}
with all occurrences of substring
\var
{
old
}
replaced by
\var
{
new
}
. If the optional argument
\var
{
max
split
}
is given, the first
\var
{
maxsplit
}
occurrences are
\var
{
max
replace
}
is given, the first
\var
{
maxreplace
}
occurrences are
replaced.
\end{funcdesc}
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