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
0e40c3d0
Commit
0e40c3d0
authored
Aug 20, 2001
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document PyTuple_GET_SIZE(), removing confusing sentence from PyDict_Copy()
description. This fixes SF bug #453111.
parent
a0f4369f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
Doc/api/api.tex
Doc/api/api.tex
+7
-2
No files found.
Doc/api/api.tex
View file @
0e40c3d0
...
...
@@ -3590,6 +3590,11 @@ Takes a pointer to a tuple object, and returns the size
of that tuple.
\end{cfuncdesc}
\begin{cfuncdesc}
{
int
}{
PyTuple
_
GET
_
SIZE
}{
PyObject *p
}
Return the size of the tuple
\var
{
p
}
, which must be non-
\NULL
{}
and
point to a tuple; no error checking is performed.
\end{cfuncdesc}
\begin{cfuncdesc}
{
PyObject*
}{
PyTuple
_
GetItem
}{
PyObject *p, int pos
}
Returns the object at position
\var
{
pos
}
in the tuple pointed
to by
\var
{
p
}
. If
\var
{
pos
}
is out of bounds, returns
\NULL
{}
and
...
...
@@ -3780,8 +3785,8 @@ Empties an existing dictionary of all key-value pairs.
\end{cfuncdesc}
\begin{cfuncdesc}
{
PyObject*
}{
PyDict
_
Copy
}{
PyObject *p
}
Returns a new dictionary that contains the same key-value pairs as
p.
Empties an existing dictionary of all key-value pairs
.
Returns a new dictionary that contains the same key-value pairs as
\var
{
p
}
.
\versionadded
{
1.6
}
\end{cfuncdesc}
...
...
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