diff options
| author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-03-15 16:55:01 (GMT) |
|---|---|---|
| committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-03-15 16:55:01 (GMT) |
| commit | 24b07bcba350bb86c4d6ca446e1564647a199868 (patch) | |
| tree | 1815b1c49a6aec401da86b33fa81d06a0c735679 /Python | |
| parent | 1aa999c49ed82c89257c13cba5e210c3ba34c130 (diff) | |
| download | cpython-24b07bcba350bb86c4d6ca446e1564647a199868.zip cpython-24b07bcba350bb86c4d6ca446e1564647a199868.tar.gz cpython-24b07bcba350bb86c4d6ca446e1564647a199868.tar.bz2 | |
#11515: fix several typos. Patch by Piotr Kasprzyk.
Diffstat (limited to 'Python')
| -rw-r--r-- | Python/_warnings.c | 2 | ||||
| -rw-r--r-- | Python/sysmodule.c | 2 |
2 files changed, 2 insertions, 2 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 diff --git a/Python/sysmodule.c b/Python/sysmodule.c index 56e70e6..eeb18f3 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -560,7 +560,7 @@ PyDoc_STRVAR(getwindowsversion_doc, Return information about the running version of Windows as a named tuple.\n\ The members are named: major, minor, build, platform, service_pack,\n\ service_pack_major, service_pack_minor, suite_mask, and product_type. For\n\ -backward compatibiliy, only the first 5 items are available by indexing.\n\ +backward compatibility, only the first 5 items are available by indexing.\n\ All elements are numbers, except service_pack which is a string. Platform\n\ may be 0 for win32s, 1 for Windows 9x/ME, 2 for Windows NT/2000/XP/Vista/7,\n\ 3 for Windows CE. Product_type may be 1 for a workstation, 2 for a domain\n\ |
