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
03bf64be
Commit
03bf64be
authored
Mar 16, 1998
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Markup nits.
Adjusted some index entries.
parent
b5f4960b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
14 deletions
+22
-14
Doc/lib/libtypes.tex
Doc/lib/libtypes.tex
+11
-7
Doc/libtypes.tex
Doc/libtypes.tex
+11
-7
No files found.
Doc/lib/libtypes.tex
View file @
03bf64be
...
...
@@ -126,8 +126,9 @@ Notes:
\item
[(1)]
\code
{
<>
}
and
\code
{
!=
}
are alternate spellings for the same operator.
(I couldn't choose between
\ABC
{}
and
\C
{}
! :-)
\indexii
{
ABC@
\ABC
{}}{
language
}
\indexii
{
\C
{}}{
language
}
\index
{
ABC language@
\ABC
{}
language
}
\index
{
language!ABC@
\ABC
{}}
\indexii
{
C@
\C
{}}{
language
}
\end{description}
...
...
@@ -167,7 +168,7 @@ working with.
\indexiii
{
long
}{
integer
}{
type
}
\indexii
{
floating point
}{
type
}
\indexii
{
complex number
}{
type
}
\indexii
{
\C
{}}{
language
}
\indexii
{
C@
\C
{}}{
language
}
Complex numbers have a real and imaginary part, which are both
implemented using
\code
{
double
}
in
\C
{}
. To extract these parts from
...
...
@@ -252,7 +253,7 @@ module \code{math} for well-defined conversions.
\bifuncindex
{
ceil
}
\indexii
{
numeric
}{
conversions
}
\refbimodindex
{
math
}
\indexii
{
\C
{}}{
language
}
\indexii
{
C@
\C
{}}{
language
}
\item
[(3)]
See the section on built-in functions for an exact definition.
...
...
@@ -421,8 +422,10 @@ All other errors raise exceptions.
If the right argument is a dictionary (or any kind of mapping), then
the formats in the string must have a parenthesized key into that
dictionary inserted immediately after the
\code
{
\%
}
character, and
each format formats the corresponding entry from the mapping. E.g.
dictionary inserted immediately after the
\character
{
\%
}
character,
and each format formats the corresponding entry from the mapping.
For example:
\begin{verbatim}
>>> count = 2
>>> language = 'Python'
...
...
@@ -430,11 +433,12 @@ each format formats the corresponding entry from the mapping. E.g.
Python has 002 quote types.
>>>
\end{verbatim}
In this case no * specifiers may occur in a format (since they
require a sequential parameter list).
Additional string operations are defined in standard module
\
code
{
string
}
and in built-in module
\cod
e
{
re
}
.
\
module
{
string
}
and in built-in module
\modul
e
{
re
}
.
\refstmodindex
{
string
}
\refbimodindex
{
re
}
...
...
Doc/libtypes.tex
View file @
03bf64be
...
...
@@ -126,8 +126,9 @@ Notes:
\item
[(1)]
\code
{
<>
}
and
\code
{
!=
}
are alternate spellings for the same operator.
(I couldn't choose between
\ABC
{}
and
\C
{}
! :-)
\indexii
{
ABC@
\ABC
{}}{
language
}
\indexii
{
\C
{}}{
language
}
\index
{
ABC language@
\ABC
{}
language
}
\index
{
language!ABC@
\ABC
{}}
\indexii
{
C@
\C
{}}{
language
}
\end{description}
...
...
@@ -167,7 +168,7 @@ working with.
\indexiii
{
long
}{
integer
}{
type
}
\indexii
{
floating point
}{
type
}
\indexii
{
complex number
}{
type
}
\indexii
{
\C
{}}{
language
}
\indexii
{
C@
\C
{}}{
language
}
Complex numbers have a real and imaginary part, which are both
implemented using
\code
{
double
}
in
\C
{}
. To extract these parts from
...
...
@@ -252,7 +253,7 @@ module \code{math} for well-defined conversions.
\bifuncindex
{
ceil
}
\indexii
{
numeric
}{
conversions
}
\refbimodindex
{
math
}
\indexii
{
\C
{}}{
language
}
\indexii
{
C@
\C
{}}{
language
}
\item
[(3)]
See the section on built-in functions for an exact definition.
...
...
@@ -421,8 +422,10 @@ All other errors raise exceptions.
If the right argument is a dictionary (or any kind of mapping), then
the formats in the string must have a parenthesized key into that
dictionary inserted immediately after the
\code
{
\%
}
character, and
each format formats the corresponding entry from the mapping. E.g.
dictionary inserted immediately after the
\character
{
\%
}
character,
and each format formats the corresponding entry from the mapping.
For example:
\begin{verbatim}
>>> count = 2
>>> language = 'Python'
...
...
@@ -430,11 +433,12 @@ each format formats the corresponding entry from the mapping. E.g.
Python has 002 quote types.
>>>
\end{verbatim}
In this case no * specifiers may occur in a format (since they
require a sequential parameter list).
Additional string operations are defined in standard module
\
code
{
string
}
and in built-in module
\cod
e
{
re
}
.
\
module
{
string
}
and in built-in module
\modul
e
{
re
}
.
\refstmodindex
{
string
}
\refbimodindex
{
re
}
...
...
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