Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cython
Commits
695699d0
Commit
695699d0
authored
Mar 18, 2017
by
Michael Seifert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include except clause for PyTuple_SetItem in CPython-Includes
parent
13238f5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Cython/Includes/cpython/tuple.pxd
Cython/Includes/cpython/tuple.pxd
+1
-1
No files found.
Cython/Includes/cpython/tuple.pxd
View file @
695699d0
...
...
@@ -45,7 +45,7 @@ cdef extern from "Python.h":
# Return value: New reference.
# Take a slice of the tuple pointed to by p from low to high and return it as a new tuple.
int
PyTuple_SetItem
(
object
p
,
Py_ssize_t
pos
,
object
o
)
int
PyTuple_SetItem
(
object
p
,
Py_ssize_t
pos
,
object
o
)
except
-
1
# Insert a reference to object o at position pos of the tuple
# pointed to by p. Return 0 on success. Note: This function
# ``steals'' a reference to o.
...
...
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