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
aa126e1e
Commit
aa126e1e
authored
Nov 17, 2000
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Corrected a number of typos reported by Gilles Civario
<gcivario@users.sourceforge.net>. This closes bug #122562.
parent
d99e534d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
12 deletions
+3
-12
Doc/ext/ext.tex
Doc/ext/ext.tex
+3
-12
No files found.
Doc/ext/ext.tex
View file @
aa126e1e
...
...
@@ -735,7 +735,7 @@ storage. The caller is responsible for calling
object)
{
[const char *encoding, char **buffer, int *buffer
_
length]
}
]
This variant on
\samp
{
s
\#
}
is used for encoding Unicode and objects
convertible to Unicode into a character buffer. It reads one C
variable and stores into t
wo
C variables, the first one a pointer to
variable and stores into t
hree
C variables, the first one a pointer to
an encoding name string (
\var
{
encoding
}
), the second a pointer to a
pointer to a character buffer (
\var
{
**buffer
}
, the buffer used for
storing the encoded data) and the third one a pointer to an integer
...
...
@@ -886,8 +886,8 @@ as the function name in error messages (the ``associated value'' of
the exception that
\cfunction
{
PyArg
_
ParseTuple()
}
raises).
\item
[\samp{;}]
The list of format units ends here; the string after the
colon is used
as the error message
\emph
{
instead
}
of the default error message.
The list of format units ends here; the string after the
semicolon is
used
as the error message
\emph
{
instead
}
of the default error message.
Clearly,
\samp
{
:
}
and
\samp
{
;
}
mutually exclude each other.
\end{description}
...
...
@@ -1101,15 +1101,6 @@ Convert a Unicode (UCS-2) data buffer and its length to a Python
Unicode object. If the Unicode buffer pointer is
\NULL
, the length
is ignored and
\code
{
None
}
is returned.
\item
[\samp{u} (Unicode string) {[Py_UNICODE *]
}
]
Convert a null-terminated buffer of Unicode (UCS-2) data to a Python Unicode
object. If the Unicode buffer pointer is
\NULL
{}
,
\code
{
None
}
is returned.
\item
[\samp{u\#} (Unicode string) {[Py_UNICODE *, int]
}
]
Convert a Unicode (UCS-2) data buffer and its length to a Python Unicode
object. If the Unicode buffer pointer is
\NULL
{}
, the length is ignored and
\code
{
None
}
is returned.
\item
[\samp{i} (integer) {[int]
}
]
Convert a plain C
\ctype
{
int
}
to a Python integer object.
...
...
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