[issue12501] callable(): remove/amend the deprecation warning in Python 2.7

Éric Araujo report at bugs.python.org
Tue Jul 5 17:45:59 CEST 2011


Éric Araujo <merwok at netwok.org> added the comment:

What about this change instead:

-    if (PyErr_WarnPy3k("callable() not supported in 3.x; "
+    if (PyErr_WarnPy3k("callable() not supported in 3.1; "

----------
nosy: +eric.araujo
title: callable(): remove the deprecation warning from Python 2.7 -> callable(): remove/amend the deprecation warning in Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12501>
_______________________________________


More information about the Python-bugs-list mailing list