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
cc948c17
Commit
cc948c17
authored
Feb 18, 1999
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update note about the (...) format specifier for PyArg_ParseTuple().
parent
1772547f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
Doc/ext/ext.tex
Doc/ext/ext.tex
+10
-4
No files found.
Doc/ext/ext.tex
View file @
cc948c17
...
...
@@ -702,10 +702,16 @@ Raises a \exception{TypeError} exception if the object is not a string
object. The C variable may also be declared as
\ctype
{
PyObject *
}
.
\item
[\samp{(\var{items})} (tuple) {[\var{matching-items}]
}
]
The object must be a Python tuple whose length is the number of format
units in
\var
{
items
}
. The C arguments must correspond to the
individual format units in
\var
{
items
}
. Format units for tuples may
be nested.
The object must be a Python sequence whose length is the number of
format units in
\var
{
items
}
. The C arguments must correspond to the
individual format units in
\var
{
items
}
. Format units for sequences
may be nested.
\strong
{
Note:
}
Prior to Python version 1.5.2, this format specifier
only accepted a tuple containing the individual parameters, not an
arbitrary sequence. Code which previously caused a
\exception
{
TypeError
}
to be raised here may now proceed without an
exception. This is not expected to be a problem for existing code.
\end{description}
...
...
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