diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-06-02 10:07:09 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-06-02 10:07:09 (GMT) |
commit | e26da7c03a714faa115fe6b708ef0730119aa4b3 (patch) | |
tree | 26d6a9584ddde0d84f1011fe87662b3b84a39428 /Modules | |
parent | 1b207c55a446ab8b8bae2efc8407ee130ba62012 (diff) | |
download | cpython-e26da7c03a714faa115fe6b708ef0730119aa4b3.zip cpython-e26da7c03a714faa115fe6b708ef0730119aa4b3.tar.gz cpython-e26da7c03a714faa115fe6b708ef0730119aa4b3.tar.bz2 |
Issue #27171: Fix typos in documentation, comments, and test function names
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_datetimemodule.c | 4 | ||||
-rw-r--r-- | Modules/_lzmamodule.c | 2 | ||||
-rw-r--r-- | Modules/ld_so_aix.in | 6 | ||||
-rw-r--r-- | Modules/readline.c | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/Modules/_datetimemodule.c b/Modules/_datetimemodule.c index c9ba9f7..f419cb2 100644 --- a/Modules/_datetimemodule.c +++ b/Modules/_datetimemodule.c @@ -1073,7 +1073,7 @@ format_utcoffset(char *buf, size_t buflen, const char *sep, minutes = divmod(seconds, 60, &seconds); hours = divmod(minutes, 60, &minutes); assert(seconds == 0); - /* XXX ignore sub-minute data, curently not allowed. */ + /* XXX ignore sub-minute data, currently not allowed. */ PyOS_snprintf(buf, buflen, "%c%02d%s%02d", sign, hours, sep, minutes); return 0; @@ -3304,7 +3304,7 @@ timezone_str(PyDateTime_TimeZone *self) Py_DECREF(offset); minutes = divmod(seconds, 60, &seconds); hours = divmod(minutes, 60, &minutes); - /* XXX ignore sub-minute data, curently not allowed. */ + /* XXX ignore sub-minute data, currently not allowed. */ assert(seconds == 0); return PyUnicode_FromFormat("UTC%c%02d:%02d", sign, hours, minutes); } diff --git a/Modules/_lzmamodule.c b/Modules/_lzmamodule.c index f3bcd76..846dc0e 100644 --- a/Modules/_lzmamodule.c +++ b/Modules/_lzmamodule.c @@ -705,7 +705,7 @@ _lzma.LZMACompressor.__init__ check: int(c_default="-1") = unspecified The integrity check to use. For FORMAT_XZ, the default - is CHECK_CRC64. FORMAT_ALONE and FORMAT_RAW do not suport integrity + is CHECK_CRC64. FORMAT_ALONE and FORMAT_RAW do not support integrity checks; for these formats, check must be omitted, or be CHECK_NONE. preset: object = None diff --git a/Modules/ld_so_aix.in b/Modules/ld_so_aix.in index 961532b..add6b3e 100644 --- a/Modules/ld_so_aix.in +++ b/Modules/ld_so_aix.in @@ -12,7 +12,7 @@ # # ARGUMENTS: Same as for "ld". The following arguments are processed # or supplied by this script (those marked with an asterisk -# can be overriden from command line): +# can be overridden from command line): # # Argument Default value # (*) -o [OutputFileName] -o shr.o @@ -85,7 +85,7 @@ if test ! -n "$*"; then fi # Default import file for Python -# Can be overriden by providing a -bI: argument. +# Can be overridden by providing a -bI: argument. impfile="./python.exp" # Parse arguments @@ -156,7 +156,7 @@ if test -z "$expfile"; then fi # Default entry symbol for Python modules = init[modulename] -# Can be overriden by providing a -e argument. +# Can be overridden by providing a -e argument. if test -z "$entry"; then entry=PyInit_`echo $filename | sed "s/module.*//"` fi diff --git a/Modules/readline.c b/Modules/readline.c index 63be9b4..8c00dec 100644 --- a/Modules/readline.c +++ b/Modules/readline.c @@ -1075,7 +1075,7 @@ setup_readline(readlinestate *mod_state) #ifndef __APPLE__ if (!isatty(STDOUT_FILENO)) { - /* Issue #19884: stdout is no a terminal. Disable meta modifier + /* Issue #19884: stdout is not a terminal. Disable meta modifier keys to not write the ANSI sequence "\033[1034h" into stdout. On terminals supporting 8 bit characters like TERM=xterm-256color (which is now the default Fedora since Fedora 18), the meta key is |