summaryrefslogtreecommitdiffstats
path: root/Python/_warnings.c
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2011-03-15 16:55:01 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2011-03-15 16:55:01 (GMT)
commit24b07bcba350bb86c4d6ca446e1564647a199868 (patch)
tree1815b1c49a6aec401da86b33fa81d06a0c735679 /Python/_warnings.c
parent1aa999c49ed82c89257c13cba5e210c3ba34c130 (diff)
downloadcpython-24b07bcba350bb86c4d6ca446e1564647a199868.zip
cpython-24b07bcba350bb86c4d6ca446e1564647a199868.tar.gz
cpython-24b07bcba350bb86c4d6ca446e1564647a199868.tar.bz2
#11515: fix several typos. Patch by Piotr Kasprzyk.
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 1dc2512..88be7db 100644
--- a/Python/_warnings.c
+++ b/Python/_warnings.c
@@ -725,7 +725,7 @@ PyErr_WarnEx(PyObject *category, const char *text, Py_ssize_t stack_level)
return 0;
}
-/* 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