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
fffe5dbc
Commit
fffe5dbc
authored
Sep 21, 2000
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a number of small problems reported by Detlef Lannert
<lannert@uni-duesseldorf.de>.
parent
f5855746
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
9 deletions
+8
-9
Doc/lib/libstdtypes.tex
Doc/lib/libstdtypes.tex
+1
-1
Doc/lib/libstring.tex
Doc/lib/libstring.tex
+5
-6
Doc/lib/libundoc.tex
Doc/lib/libundoc.tex
+2
-2
No files found.
Doc/lib/libstdtypes.tex
View file @
fffe5dbc
...
...
@@ -327,7 +327,7 @@ constructed by the comma operator (not within square brackets), with
or without enclosing parentheses, but an empty tuple must have the
enclosing parentheses, e.g.,
\code
{
a, b, c
}
or
\code
{
()
}
. A single
item tuple must have a trailing comma, e.g.,
\code
{
(d,)
}
. Buffers are
not directly support
by Python syntax, but can
created by calling the
not directly support
ed by Python syntax, but can be
created by calling the
builtin function
\function
{
buffer()
}
.
\bifuncindex
{
buffer
}
XRanges
objects are similar to buffers in that there is no specific syntax to
create them, but they are created using the
\function
{
xrange()
}
...
...
Doc/lib/libstring.tex
View file @
fffe5dbc
...
...
@@ -91,12 +91,11 @@ The functions defined in this module are:
is 0, a default base is chosen depending on the leading characters
of the string (after stripping the sign):
\samp
{
0x
}
or
\samp
{
0X
}
means 16,
\samp
{
0
}
means 8, anything else means 10. If
\var
{
base
}
is 16, a leading
\samp
{
0x
}
or
\samp
{
0X
}
is always accepted. Note
that when invoked without
\var
{
base
}
or with
\var
{
base
}
set to 10,
this behaves identical to the built-in function
\function
{
int()
}
when passed a string. (Also note: for a more flexible
interpretation of numeric literals, use the built-in function
\function
{
eval()
}
\bifuncindex
{
eval
}
.)
is 16, a leading
\samp
{
0x
}
or
\samp
{
0X
}
is always accepted, though
not required. This behaves identically to the built-in function
\function
{
int()
}
when passed a string. (Also note: for a more
flexible interpretation of numeric literals, use the built-in
function
\function
{
eval()
}
\bifuncindex
{
eval
}
.)
\end{funcdesc}
\begin{funcdesc}
{
atol
}{
s
\optional
{
, base
}}
...
...
Doc/lib/libundoc.tex
View file @
fffe5dbc
...
...
@@ -166,8 +166,8 @@ now just as good).
\end{description}
The following modules are obsolete, but are likely
re-surface as tool
s
or scripts.
The following modules are obsolete, but are likely
to re-surface a
s
tools or scripts:
\begin{description}
\item
[\module{find}]
...
...
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