summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2011-03-15 03:18:48 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2011-03-15 03:18:48 (GMT)
commit42da663e6fe7ecbb89b17d596c76812a91bb99a4 (patch)
treef660a093d1eb0841656b9b10173589f357ec0484 /Python
parentf6db0bbbeefa1bde9fd09c53e7c6bf0e57481590 (diff)
downloadcpython-42da663e6fe7ecbb89b17d596c76812a91bb99a4.zip
cpython-42da663e6fe7ecbb89b17d596c76812a91bb99a4.tar.gz
cpython-42da663e6fe7ecbb89b17d596c76812a91bb99a4.tar.bz2
#11515: fix several typos. Patch by Piotr Kasprzyk.
Diffstat (limited to 'Python')
-rw-r--r--Python/_warnings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/_warnings.c b/Python/_warnings.c
index 56e8b3a..543e0bb 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