diff options
author | Min ho Kim <minho42@gmail.com> | 2019-07-30 22:16:13 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2019-07-30 22:16:13 (GMT) |
commit | c4cacc8c5eab50db8da3140353596f38a01115ca (patch) | |
tree | 9198db7e2525d0f113823faee4b6d4ac7136a633 /Modules | |
parent | 0acb646b8e405864224bfd6d7d5089980dea63ac (diff) | |
download | cpython-c4cacc8c5eab50db8da3140353596f38a01115ca.zip cpython-c4cacc8c5eab50db8da3140353596f38a01115ca.tar.gz cpython-c4cacc8c5eab50db8da3140353596f38a01115ca.tar.bz2 |
Fix typos in comments, docs and test names (#15018)
* Fix typos in comments, docs and test names
* Update test_pyparse.py
account for change in string length
* Apply suggestion: splitable -> splittable
Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu>
* Apply suggestion: splitable -> splittable
Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu>
* Apply suggestion: Dealloccte -> Deallocate
Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu>
* Update posixmodule checksum.
* Reverse idlelib changes.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_ctypes/libffi_osx/x86/x86-ffi64.c | 2 | ||||
-rw-r--r-- | Modules/_struct.c | 4 | ||||
-rw-r--r-- | Modules/cjkcodecs/README | 2 | ||||
-rw-r--r-- | Modules/clinic/posixmodule.c.h | 4 | ||||
-rw-r--r-- | Modules/expat/expat.h | 2 | ||||
-rw-r--r-- | Modules/getpath.c | 2 | ||||
-rw-r--r-- | Modules/posixmodule.c | 4 |
7 files changed, 10 insertions, 10 deletions
diff --git a/Modules/_ctypes/libffi_osx/x86/x86-ffi64.c b/Modules/_ctypes/libffi_osx/x86/x86-ffi64.c index f2610c1..8e7d0164 100644 --- a/Modules/_ctypes/libffi_osx/x86/x86-ffi64.c +++ b/Modules/_ctypes/libffi_osx/x86/x86-ffi64.c @@ -57,7 +57,7 @@ ffi_call_unix64( of SSESF, SSEDF classes, that are basically SSE class, just gcc will use SF or DFmode move instead of DImode to avoid reformating penalties. - Similary we play games with INTEGERSI_CLASS to use cheaper SImode moves + Similarly we play games with INTEGERSI_CLASS to use cheaper SImode moves whenever possible (upper half does contain padding). */ enum x86_64_reg_class { diff --git a/Modules/_struct.c b/Modules/_struct.c index d1c635a..ba8f9cd 100644 --- a/Modules/_struct.c +++ b/Modules/_struct.c @@ -361,8 +361,8 @@ _range_error(const formatdef *f, int is_unsigned) [bln][up]_TYPE - [bln] distiguishes among big-endian, little-endian and native. - [pu] distiguishes between pack (to struct) and unpack (from struct). + [bln] distinguishes among big-endian, little-endian and native. + [pu] distinguishes between pack (to struct) and unpack (from struct). TYPE is one of char, byte, ubyte, etc. */ diff --git a/Modules/cjkcodecs/README b/Modules/cjkcodecs/README index b2370bc..8f08f2d 100644 --- a/Modules/cjkcodecs/README +++ b/Modules/cjkcodecs/README @@ -6,7 +6,7 @@ subdirectory of CJKCodecs' distribution. -Notes on implmentation characteristics of each codecs +Notes on implementation characteristics of each codecs ----------------------------------------------------- 1) Big5 codec diff --git a/Modules/clinic/posixmodule.c.h b/Modules/clinic/posixmodule.c.h index 22cb947..aa1ab79 100644 --- a/Modules/clinic/posixmodule.c.h +++ b/Modules/clinic/posixmodule.c.h @@ -2817,7 +2817,7 @@ PyDoc_STRVAR(os_sched_getscheduler__doc__, "sched_getscheduler($module, pid, /)\n" "--\n" "\n" -"Get the scheduling policy for the process identifiedy by pid.\n" +"Get the scheduling policy for the process identified by pid.\n" "\n" "Passing 0 for pid returns the scheduling policy for the calling process."); @@ -8741,4 +8741,4 @@ exit: #ifndef OS__REMOVE_DLL_DIRECTORY_METHODDEF #define OS__REMOVE_DLL_DIRECTORY_METHODDEF #endif /* !defined(OS__REMOVE_DLL_DIRECTORY_METHODDEF) */ -/*[clinic end generated code: output=b3ae8afd275ea5cd input=a9049054013a1b77]*/ +/*[clinic end generated code: output=1e001c855e011720 input=a9049054013a1b77]*/ diff --git a/Modules/expat/expat.h b/Modules/expat/expat.h index c050f1d..56399da 100644 --- a/Modules/expat/expat.h +++ b/Modules/expat/expat.h @@ -265,7 +265,7 @@ XML_ParserCreate_MM(const XML_Char *encoding, /* Prepare a parser object to be re-used. This is particularly valuable when memory allocation overhead is disproportionately high, - such as when a large number of small documnents need to be parsed. + such as when a large number of small documents need to be parsed. All handlers are cleared from the parser, except for the unknownEncodingHandler. The parser's external state is re-initialized except for the values of ns and ns_triplets. diff --git a/Modules/getpath.c b/Modules/getpath.c index 4ddb663..2372172 100644 --- a/Modules/getpath.c +++ b/Modules/getpath.c @@ -95,7 +95,7 @@ * process to find the installed Python tree. * * An embedding application can use Py_SetPath() to override all of - * these authomatic path computations. + * these automatic path computations. * * NOTE: Windows MSVC builds use PC/getpathp.c instead! */ diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 777e933..4f8c074 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -6112,14 +6112,14 @@ os.sched_getscheduler pid: pid_t / -Get the scheduling policy for the process identifiedy by pid. +Get the scheduling policy for the process identified by pid. Passing 0 for pid returns the scheduling policy for the calling process. [clinic start generated code]*/ static PyObject * os_sched_getscheduler_impl(PyObject *module, pid_t pid) -/*[clinic end generated code: output=dce4c0bd3f1b34c8 input=5f14cfd1f189e1a0]*/ +/*[clinic end generated code: output=dce4c0bd3f1b34c8 input=8d99dac505485ac8]*/ { int policy; |