diff options
author | Jesus Cea <jcea@jcea.es> | 2010-11-04 21:39:52 (GMT) |
---|---|---|
committer | Jesus Cea <jcea@jcea.es> | 2010-11-04 21:39:52 (GMT) |
commit | 33c722b795d9ad791ac225c3ecb0178f5aac6df7 (patch) | |
tree | 1500cb926417d9c359704e7cf5bb9bd431eedd1c /Objects | |
parent | db31a35aa943cb4267363fdf26e6c3a0a2f0f5ea (diff) | |
download | cpython-33c722b795d9ad791ac225c3ecb0178f5aac6df7.zip cpython-33c722b795d9ad791ac225c3ecb0178f5aac6df7.tar.gz cpython-33c722b795d9ad791ac225c3ecb0178f5aac6df7.tar.bz2 |
CObject use is marked as a Py3k warning, not a deprecation warning
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/cobject.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Objects/cobject.c b/Objects/cobject.c index 72123f4..355421e 100644 --- a/Objects/cobject.c +++ b/Objects/cobject.c @@ -11,8 +11,7 @@ typedef void (*destructor2)(void *, void*); static int cobject_deprecation_warning(void) { - return PyErr_WarnEx(PyExc_PendingDeprecationWarning, - "The CObject type is marked Pending Deprecation in Python 2.7. " + return PyErr_WarnPy3k("CObject type is not supported in 3.x. " "Please use capsule objects instead.", 1); } |