Commit 1020af47 authored by scoder's avatar scoder Committed by GitHub

Merge pull request #1846 from MSeifert04/pyset_includes

Include PySet_Check and PyFrozenSet_Check to CPython includes file
parents 00305bd3 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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment