[Python-checkins] r60400 - python/trunk/Doc/c-api/set.rst
raymond.hettinger
python-checkins at python.org
Mon Jan 28 22:48:07 CET 2008
Author: raymond.hettinger
Date: Mon Jan 28 22:48:07 2008
New Revision: 60400
Modified:
python/trunk/Doc/c-api/set.rst
Log:
Factor-out common code with a new macro
Modified: python/trunk/Doc/c-api/set.rst
==============================================================================
--- python/trunk/Doc/c-api/set.rst (original)
+++ python/trunk/Doc/c-api/set.rst Mon Jan 28 22:48:07 2008
@@ -52,6 +52,12 @@
the constructor functions work with any iterable Python object.
+.. cfunction:: int PySet_Check(PyObject *p)
+
+ Return true if *p* is a :class:`set` 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
More information about the Python-checkins
mailing list