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
025f14b7
Commit
025f14b7
authored
Mar 08, 2006
by
Neal Norwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move version added tag from PyObject_Length/Size to PyNumber_Index.
parent
8f4d255b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Doc/api/abstract.tex
Doc/api/abstract.tex
+1
-1
No files found.
Doc/api/abstract.tex
View file @
025f14b7
...
...
@@ -346,7 +346,6 @@ determination.
either the sequence and mapping protocols, the sequence length is
returned. On error,
\code
{
-1
}
is returned. This is the equivalent
to the Python expression
\samp
{
len(
\var
{
o
}
)
}
.
\bifuncindex
{
len
}
\versionadded
{
2.5
}
\end{cfuncdesc}
...
...
@@ -693,6 +692,7 @@ determination.
\begin{cfuncdesc}
{
Py
_
ssize
_
t
}{
PyNumber
_
Index
}{
PyObject *o
}
Returns the
\var
{
o
}
converted to a Py
_
ssize
_
t integer on success, or
-1 with an exception raised on failure.
\versionadded
{
2.5
}
\end{cfuncdesc}
\section
{
Sequence Protocol
\label
{
sequence
}}
...
...
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