diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-03-15 05:18:48 +0200 |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-03-15 05:18:48 +0200 |
commit | 25f2d241044d3b0aed66b635f191511f11d34f53 (patch) | |
tree | e4fd51cf52375335217f0470caa2df57174d3958 /Python/_warnings.c | |
parent | 3346922a7257ab36cc784c06797aba63119ba335 (diff) | |
download | cpython-25f2d241044d3b0aed66b635f191511f11d34f53.tar.gz |
#11515: fix several typos. Patch by Piotr Kasprzyk.
Diffstat (limited to 'Python/_warnings.c')
-rw-r--r-- | Python/_warnings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/_warnings.c b/Python/_warnings.c index 56e8b3a311..543e0bb4ca 100644 --- a/Python/_warnings.c +++ b/Python/_warnings.c @@ -732,7 +732,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 |