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
ded66852
Commit
ded66852
authored
May 12, 2004
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix various typos; thanks, George Yoshida!
(closes SF patch #952047)
parent
bc017797
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
6 deletions
+6
-6
Doc/lib/libcode.tex
Doc/lib/libcode.tex
+1
-1
Doc/lib/libinspect.tex
Doc/lib/libinspect.tex
+1
-1
Doc/lib/libregex.tex
Doc/lib/libregex.tex
+1
-1
Doc/lib/liburllib2.tex
Doc/lib/liburllib2.tex
+1
-1
Doc/lib/libxmlrpclib.tex
Doc/lib/libxmlrpclib.tex
+1
-1
Doc/lib/xmlsaxutils.tex
Doc/lib/xmlsaxutils.tex
+1
-1
No files found.
Doc/lib/libcode.tex
View file @
ded66852
...
...
@@ -61,7 +61,7 @@ Returns a code object (the same as \code{compile(\var{source},
valid;
\code
{
None
}
if the command is incomplete; raises
\exception
{
SyntaxError
}
if the command is complete and contains a
syntax error, or raises
\exception
{
OverflowError
}
or
\exception
{
ValueError
}
if the command cotains an invalid literal.
\exception
{
ValueError
}
if the command co
n
tains an invalid literal.
\end{funcdesc}
...
...
Doc/lib/libinspect.tex
View file @
ded66852
...
...
@@ -120,7 +120,7 @@ Note:
\begin{funcdesc}
{
getmodulename
}{
path
}
Return the name of the module named by the file
\var
{
path
}
, without
including the names of enclosing packages. This uses the same
algor
ti
hm as the interpreter uses when searching for modules. If
algor
it
hm as the interpreter uses when searching for modules. If
the name cannot be matched according to the interpreter's rules,
\code
{
None
}
is returned.
\end{funcdesc}
...
...
Doc/lib/libregex.tex
View file @
ded66852
...
...
@@ -44,7 +44,7 @@ regular expression represented as a string literal, you have to
E.g.
\
to extract
\LaTeX\ \samp
{
\e
section
\{\textrm
{
\ldots
}
\}
}
headers
from a document, you can use this pattern:
\code
{
'[
\e
]section
\{\e
(.*
\e
)
\}
'
}
.
\emph
{
Another exception:
}
the escape sequece
\samp
{
\e
b
}
is significant in string literals
the escape seque
n
ce
\samp
{
\e
b
}
is significant in string literals
(where it means the ASCII bell character) as well as in Emacs regular
expressions (where it stands for a word boundary), so in order to
search for a word boundary, you should use the pattern
\code
{
'
\e
\e
b'
}
.
...
...
Doc/lib/liburllib2.tex
View file @
ded66852
...
...
@@ -496,7 +496,7 @@ These methods are available on \class{HTTPPasswordMgr} and
\class
{
HTTPPasswordMgrWithDefaultRealm
}
objects.
\begin{methoddesc}
[HTTPPasswordMgr]
{
add
_
password
}{
realm, uri, user, passwd
}
\var
{
uri
}
can be either a single URI, or a sequene of URIs.
\var
{
realm
}
,
\var
{
uri
}
can be either a single URI, or a sequen
c
e of URIs.
\var
{
realm
}
,
\var
{
user
}
and
\var
{
passwd
}
must be strings. This causes
\code
{
(
\var
{
user
}
,
\var
{
passwd
}
)
}
to be used as authentication tokens
when authentication for
\var
{
realm
}
and a super-URI of any of the
...
...
Doc/lib/libxmlrpclib.tex
View file @
ded66852
...
...
@@ -190,7 +190,7 @@ It also supports certain of Python's built-in operators through
\subsection
{
Binary Objects
\label
{
binary-objects
}}
This class may initialized from string data (which may include NULs).
The primary acess to the content of a
\class
{
Binary
}
object is
The primary ac
c
ess to the content of a
\class
{
Binary
}
object is
provided by an attribute:
\begin{memberdesc}
[Binary]
{
data
}
...
...
Doc/lib/xmlsaxutils.tex
View file @
ded66852
...
...
@@ -41,7 +41,7 @@ either in direct use, or as base classes.
content of
\var
{
data
}
, attempting to avoid encoding any quote
characters in the string. If both single- and double-quote
characters are already in
\var
{
data
}
, the double-quote characters
will be encoded and
\var
{
data
}
will be wrapped in doule-quotes. The
will be encoded and
\var
{
data
}
will be wrapped in dou
b
le-quotes. The
resulting string can be used directly as an attribute value:
\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