summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2007-08-12 11:44:53 (GMT)
committerSkip Montanaro <skip@pobox.com>2007-08-12 11:44:53 (GMT)
commit46fc337395753e5b927f6dcccc549c54550b197e (patch)
tree36c450714b34d4ee7f5ae1d1490d4a1ecac254e8 /Include
parent447e7c398158323af7757def0cf715fabfc707fa (diff)
downloadcpython-46fc337395753e5b927f6dcccc549c54550b197e.zip
cpython-46fc337395753e5b927f6dcccc549c54550b197e.tar.gz
cpython-46fc337395753e5b927f6dcccc549c54550b197e.tar.bz2
PyErr_Warn is deprecated in 2.5 - goes away for 3.0
Diffstat (limited to 'Include')
-rw-r--r--Include/pyerrors.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/Include/pyerrors.h b/Include/pyerrors.h
index b494bb6..b1cc429 100644
--- a/Include/pyerrors.h
+++ b/Include/pyerrors.h
@@ -213,9 +213,6 @@ PyAPI_FUNC(int) PyErr_WarnEx(PyObject *category, const char *msg,
PyAPI_FUNC(int) PyErr_WarnExplicit(PyObject *, const char *,
const char *, int,
const char *, PyObject *);
-/* PyErr_Warn is only for backwards compatability and will be removed.
- Use PyErr_WarnEx instead. */
-#define PyErr_Warn(category, msg) PyErr_WarnEx(category, msg, 1)
/* In sigcheck.c or signalmodule.c */
PyAPI_FUNC(int) PyErr_CheckSignals(void);