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
dd3f2ecb
Commit
dd3f2ecb
authored
Oct 01, 2001
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
"boolean" --> "Boolean" (per the style guide).
parent
452a1f88
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
Doc/lib/libcfgparser.tex
Doc/lib/libcfgparser.tex
+1
-1
Doc/lib/libdis.tex
Doc/lib/libdis.tex
+2
-2
Doc/lib/libformatter.tex
Doc/lib/libformatter.tex
+1
-1
Doc/lib/libparser.tex
Doc/lib/libparser.tex
+1
-1
No files found.
Doc/lib/libcfgparser.tex
View file @
dd3f2ecb
...
...
@@ -163,7 +163,7 @@ A convenience method which coerces the \var{option} in the specified
\begin{methoddesc}
{
getboolean
}{
section, option
}
A convenience method which coerces the
\var
{
option
}
in the specified
\var
{
section
}
to a
b
oolean value. Note that the only accepted values
\var
{
section
}
to a
B
oolean value. Note that the only accepted values
for the option are
\samp
{
0
}
and
\samp
{
1
}
, any others will raise
\exception
{
ValueError
}
.
\end{methoddesc}
...
...
Doc/lib/libdis.tex
View file @
dd3f2ecb
...
...
@@ -102,7 +102,7 @@ Sequence of byte codes that access a local variable.
\end{datadesc}
\begin{datadesc}
{
hascompare
}
Sequence of byte codes of
b
oolean operations.
Sequence of byte codes of
B
oolean operations.
\end{datadesc}
\subsection
{
Python Byte Code Instructions
}
...
...
@@ -474,7 +474,7 @@ Replaces TOS with \code{getattr(TOS, co_names[\var{namei}]}.
\end{opcodedesc}
\begin{opcodedesc}
{
COMPARE
_
OP
}{
opname
}
Performs a
b
oolean operation. The operation name can be found
Performs a
B
oolean operation. The operation name can be found
in
\code
{
cmp
_
op[
\var
{
opname
}
]
}
.
\end{opcodedesc}
...
...
Doc/lib/libformatter.tex
View file @
dd3f2ecb
...
...
@@ -234,7 +234,7 @@ of the form \code{(}\var{size}, \var{italic}, \var{bold},
\var
{
teletype
}
\code
{
)
}
. Size will be a string indicating the size of
font that should be used; specific strings and their interpretation
must be defined by the application. The
\var
{
italic
}
,
\var
{
bold
}
, and
\var
{
teletype
}
values are
boolean indicator
s specifying which of those
\var
{
teletype
}
values are
Boolean value
s specifying which of those
font attributes should be used.
\end{methoddesc}
...
...
Doc/lib/libparser.tex
View file @
dd3f2ecb
...
...
@@ -473,7 +473,7 @@ docstrings. Since the example demonstrates information extraction, we
can safely require that the tree be in tuple form rather than list
form, allowing a simple variable representation to be
\code
{
['variable
_
name']
}
. A simple recursive function can implement
the pattern matching, returning a
b
oolean and a dictionary of variable
the pattern matching, returning a
B
oolean and a dictionary of variable
name to value mappings. (See file
\file
{
example.py
}
.)
\begin{verbatim}
...
...
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