summaryrefslogtreecommitdiff
path: root/Python/_warnings.c
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2011-03-15 06:03:08 +0200
committerEzio Melotti <ezio.melotti@gmail.com>2011-03-15 06:03:08 +0200
commit373089239b26e7445aa44a3501c7056cfa4c3728 (patch)
tree5f2f35ff686dfa64092b06b730ed9090f6492896 /Python/_warnings.c
parentdeaa678952dd437cb8cf9f697325705ad0855029 (diff)
parent4969f709cc07088a40574c05724d83cddc8fafc7 (diff)
downloadcpython-git-373089239b26e7445aa44a3501c7056cfa4c3728.tar.gz
#11515: Merge with 3.2.
Diffstat (limited to 'Python/_warnings.c')
-rw-r--r--Python/_warnings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/_warnings.c b/Python/_warnings.c
index 51c39e48d4..a797887b9c 100644
--- a/Python/_warnings.c
+++ b/Python/_warnings.c
@@ -764,7 +764,7 @@ PyErr_WarnEx(PyObject *category, const char *text, Py_ssize_t stack_level)
return ret;
}
-/* PyErr_Warn is only for backwards compatability and will be removed.
+/* PyErr_Warn is only for backwards compatibility and will be removed.
Use PyErr_WarnEx instead. */
#undef PyErr_Warn