summaryrefslogtreecommitdiff
path: root/Doc/c-api/cobject.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/c-api/cobject.rst')
-rw-r--r--Doc/c-api/cobject.rst5
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/c-api/cobject.rst b/Doc/c-api/cobject.rst
index 10f7bbaaf8..73fbbf5d0b 100644
--- a/Doc/c-api/cobject.rst
+++ b/Doc/c-api/cobject.rst
@@ -7,8 +7,11 @@ CObjects
.. 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