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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
3aa42b4d
Commit
3aa42b4d
authored
Aug 28, 2017
by
Michael Seifert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include PySet_Check and PyFrozenSet_Check to CPython includes file
parent
00305bd3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
Cython/Includes/cpython/set.pxd
Cython/Includes/cpython/set.pxd
+6
-0
No files found.
Cython/Includes/cpython/set.pxd
View file @
3aa42b4d
...
@@ -44,9 +44,15 @@ cdef extern from "Python.h":
...
@@ -44,9 +44,15 @@ cdef extern from "Python.h":
# Return true if p is a set object or a frozenset object but not
# Return true if p is a set object or a frozenset object but not
# an instance of a subtype.
# an instance of a subtype.
bint
PyFrozenSet_Check
(
object
p
)
# Return true if p is a frozenset object or an instance of a subtype.
bint
PyFrozenSet_CheckExact
(
object
p
)
bint
PyFrozenSet_CheckExact
(
object
p
)
# Return true if p is a frozenset object but not an instance of a subtype.
# Return true if p is a frozenset object but not an instance of a subtype.
bint
PySet_Check
(
object
p
)
# Return true if p is a set object or an instance of a subtype.
object
PySet_New
(
object
iterable
)
object
PySet_New
(
object
iterable
)
# Return value: New reference.
# Return value: New reference.
# Return a new set containing objects returned by the
# Return a new set containing objects returned by the
...
...
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