commit | 402b73fb8d54ec2b24b52fdd77d389d903fa6c44 | [log] [tgz] |
---|---|---|
author | Larry Hastings <larry@hastings.org> | Thu Mar 25 00:54:54 2010 +0000 |
committer | Larry Hastings <larry@hastings.org> | Thu Mar 25 00:54:54 2010 +0000 |
tree | ced928b7f7dce754142742e485ed8e836fbc9486 | |
parent | 53ff86ea5f0ed27f5eb5b966faf59dac298d6672 [diff] [blame] |
Backported PyCapsule from 3.1, and converted most uses of CObject to PyCapsule.
diff --git a/Doc/c-api/cobject.rst b/Doc/c-api/cobject.rst index 10f7bba..73fbbf5 100644 --- a/Doc/c-api/cobject.rst +++ b/Doc/c-api/cobject.rst
@@ -7,8 +7,11 @@ .. index:: object: CObject -Refer to :ref:`using-cobjects` for more information on using these objects. +.. warning:: + + The CObject API is deprecated as of Python 2.7. Please switch to the new + :ref:`capsules` API. .. ctype:: PyCObject