diff options
Diffstat (limited to 'Doc/c-api')
| -rw-r--r-- | Doc/c-api/set.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/c-api/set.rst b/Doc/c-api/set.rst index 0aa6bcecda..c6b097dae4 100644 --- a/Doc/c-api/set.rst +++ b/Doc/c-api/set.rst @@ -58,6 +58,13 @@ the constructor functions work with any iterable Python object. .. versionadded:: 2.6 +.. cfunction:: int PyFrozenSet_Check(PyObject *p) + + Return true if *p* is a :class:`frozenset` object or an instance of a + subtype. + + .. versionadded:: 2.6 + .. cfunction:: int PyAnySet_Check(PyObject *p) Return true if *p* is a :class:`set` object, a :class:`frozenset` object, or an |
