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.
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 @@
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 @@
[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 @@
-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 @@
"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 @@
#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 @@
/* 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 @@
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;