diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-03-15 18:55:01 +0200 |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-03-15 18:55:01 +0200 |
commit | 24b07bcba350bb86c4d6ca446e1564647a199868 (patch) | |
tree | 1815b1c49a6aec401da86b33fa81d06a0c735679 /Python/_warnings.c | |
parent | 1aa999c49ed82c89257c13cba5e210c3ba34c130 (diff) | |
download | cpython-git-24b07bcba350bb86c4d6ca446e1564647a199868.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 1dc2512851..88be7db68f 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 |