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
9b4dab4d
Commit
9b4dab4d
authored
Dec 31, 2003
by
Raymond Hettinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SF patch #859286: documentation bool change fix
(Contributed by George Yoshida.)
parent
a3b11e7f
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
8 deletions
+11
-8
Doc/lib/emailmessage.tex
Doc/lib/emailmessage.tex
+1
-1
Doc/lib/libcfgparser.tex
Doc/lib/libcfgparser.tex
+4
-3
Doc/lib/libos.tex
Doc/lib/libos.tex
+3
-2
Doc/lib/libsmtplib.tex
Doc/lib/libsmtplib.tex
+3
-2
No files found.
Doc/lib/emailmessage.tex
View file @
9b4dab4d
...
@@ -561,7 +561,7 @@ to calling this method, the object's payload was \code{None}
...
@@ -561,7 +561,7 @@ to calling this method, the object's payload was \code{None}
will be the argument
\var
{
payload
}
.
will be the argument
\var
{
payload
}
.
If the object's payload was already a list
If the object's payload was already a list
(i.e.
\method
{
is
_
multipart()
}
returns
1
), then
\var
{
payload
}
is
(i.e.
\method
{
is
_
multipart()
}
returns
\code
{
True
}
), then
\var
{
payload
}
is
appended to the end of the existing payload list.
appended to the end of the existing payload list.
For any other type of existing payload,
\method
{
add
_
payload()
}
will
For any other type of existing payload,
\method
{
add
_
payload()
}
will
...
...
Doc/lib/libcfgparser.tex
View file @
9b4dab4d
...
@@ -165,8 +165,8 @@ Returns a list of options available in the specified \var{section}.
...
@@ -165,8 +165,8 @@ Returns a list of options available in the specified \var{section}.
\end{methoddesc}
\end{methoddesc}
\begin{methoddesc}
{
has
_
option
}{
section, option
}
\begin{methoddesc}
{
has
_
option
}{
section, option
}
If the given section exists, and contains the given option
. return 1;
If the given section exists, and contains the given option
,
otherwise return 0
.
return
\constant
{
True
}
; otherwise return
\constant
{
False
}
.
\versionadded
{
1.6
}
\versionadded
{
1.6
}
\end{methoddesc}
\end{methoddesc}
...
@@ -245,7 +245,8 @@ call.
...
@@ -245,7 +245,8 @@ call.
\begin{methoddesc}
{
remove
_
option
}{
section, option
}
\begin{methoddesc}
{
remove
_
option
}{
section, option
}
Remove the specified
\var
{
option
}
from the specified
\var
{
section
}
.
Remove the specified
\var
{
option
}
from the specified
\var
{
section
}
.
If the section does not exist, raise
\exception
{
NoSectionError
}
.
If the section does not exist, raise
\exception
{
NoSectionError
}
.
If the option existed to be removed, return 1; otherwise return 0.
If the option existed to be removed, return
\constant
{
True
}
;
otherwise return
\constant
{
False
}
.
\versionadded
{
1.6
}
\versionadded
{
1.6
}
\end{methoddesc}
\end{methoddesc}
...
...
Doc/lib/libos.tex
View file @
9b4dab4d
...
@@ -272,7 +272,7 @@ Set the current process' user id.
...
@@ -272,7 +272,7 @@ Set the current process' user id.
Availability:
\UNIX
.
Availability:
\UNIX
.
\end{funcdesc}
\end{funcdesc}
% placed in this section since it relates to errno.... a little weak
;-(
% placed in this section since it relates to errno.... a little weak
\begin{funcdesc}
{
strerror
}{
code
}
\begin{funcdesc}
{
strerror
}{
code
}
Return the error message corresponding to the error code in
Return the error message corresponding to the error code in
\var
{
code
}
.
\var
{
code
}
.
...
@@ -616,7 +616,8 @@ be used in a suid/sgid environment to test if the invoking user has the
...
@@ -616,7 +616,8 @@ be used in a suid/sgid environment to test if the invoking user has the
specified access to
\var
{
path
}
.
\var
{
mode
}
should be
\constant
{
F
_
OK
}
specified access to
\var
{
path
}
.
\var
{
mode
}
should be
\constant
{
F
_
OK
}
to test the existence of
\var
{
path
}
, or it can be the inclusive OR of
to test the existence of
\var
{
path
}
, or it can be the inclusive OR of
one or more of
\constant
{
R
_
OK
}
,
\constant
{
W
_
OK
}
, and
\constant
{
X
_
OK
}
to
one or more of
\constant
{
R
_
OK
}
,
\constant
{
W
_
OK
}
, and
\constant
{
X
_
OK
}
to
test permissions. Return
\code
{
1
}
if access is allowed,
\code
{
0
}
if not.
test permissions. Return
\constant
{
True
}
if access is allowed,
\constant
{
False
}
if not.
See the
\UNIX
{}
man page
\manpage
{
access
}{
2
}
for more information.
See the
\UNIX
{}
man page
\manpage
{
access
}{
2
}
for more information.
Availability:
\UNIX
, Windows.
Availability:
\UNIX
, Windows.
\end{funcdesc}
\end{funcdesc}
...
...
Doc/lib/libsmtplib.tex
View file @
9b4dab4d
...
@@ -146,8 +146,9 @@ will be implicitly called by \method{sendmail()} when necessary.
...
@@ -146,8 +146,9 @@ will be implicitly called by \method{sendmail()} when necessary.
\end{methoddesc}
\end{methoddesc}
\begin{methoddesc}
{
has
_
extn
}{
name
}
\begin{methoddesc}
{
has
_
extn
}{
name
}
Return
\code
{
1
}
if
\var
{
name
}
is in the set of SMTP service extensions
Return
\constant
{
True
}
if
\var
{
name
}
is in the set of SMTP service
returned by the server,
\code
{
0
}
otherwise. Case is ignored.
extensions returned by the server,
\constant
{
False
}
otherwise.
Case is ignored.
\end{methoddesc}
\end{methoddesc}
\begin{methoddesc}
{
verify
}{
address
}
\begin{methoddesc}
{
verify
}{
address
}
...
...
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