From c8bec185541a5839a2a1728d3d83a180d4cd93ad Mon Sep 17 00:00:00 2001 From: luz paz Date: Sun, 10 Apr 2022 11:49:43 -0400 Subject: [PATCH] Fix various typos Found via `codespell -q 3 -L ans,anumber,ba,bae,chello,clos,cmo,coo,dout,fo,funktion,goin,inout,methid,nd,nin,nnumber,object,objekt,od,ois,packag,parm,parms,pres,statics,strack,struc,tempdate,te,thru,uint,upto,writen` --- Examples/python/import_packages/from_init1/runme.py | 2 +- Examples/python/import_packages/from_init2/runme.py | 2 +- Examples/python/import_packages/from_init3/runme.py | 2 +- Examples/python/import_packages/namespace_pkg/nonpkg.py | 2 +- Examples/python/import_packages/namespace_pkg/normal.py | 2 +- Examples/python/import_packages/namespace_pkg/nstest.py | 2 +- Examples/python/import_packages/namespace_pkg/split.py | 2 +- Examples/python/import_packages/namespace_pkg/zipsplit.py | 2 +- Examples/python/import_packages/relativeimport1/runme.py | 2 +- Examples/python/import_packages/relativeimport2/runme.py | 2 +- Examples/python/import_packages/relativeimport3/runme.py | 2 +- Examples/python/import_packages/same_modnames1/runme.py | 2 +- Examples/python/import_packages/same_modnames2/runme.py | 2 +- Examples/python/import_packages/split_modules/vanilla/runme.py | 2 +- .../python/import_packages/split_modules/vanilla_split/runme.py | 2 +- Examples/ruby/exceptproxy/example.i | 2 +- Examples/test-suite/php/director_extend_runme.php | 2 +- Source/CParse/parser.y | 2 +- Source/Modules/r.cxx | 2 +- 19 files changed, 19 insertions(+), 19 deletions(-) diff --git a/Examples/python/import_packages/from_init1/runme.py b/Examples/python/import_packages/from_init1/runme.py index c76716f16..1ed8898e4 100644 --- a/Examples/python/import_packages/from_init1/runme.py +++ b/Examples/python/import_packages/from_init1/runme.py @@ -4,7 +4,7 @@ import sys def run_except_on_windows(commandline, env=None): if os.name != "nt" and sys.platform != "cygwin": - # Strange failures on windows/cygin/mingw + # Strange failures on windows/cygwin/mingw subprocess.check_call(commandline, env=env, shell=True) print((" Finished running: " + commandline)) diff --git a/Examples/python/import_packages/from_init2/runme.py b/Examples/python/import_packages/from_init2/runme.py index c9c46a4da..100c97b9e 100644 --- a/Examples/python/import_packages/from_init2/runme.py +++ b/Examples/python/import_packages/from_init2/runme.py @@ -4,7 +4,7 @@ import sys def run_except_on_windows(commandline, env=None): if os.name != "nt" and sys.platform != "cygwin": - # Strange failures on windows/cygin/mingw + # Strange failures on windows/cygwin/mingw subprocess.check_call(commandline, env=env, shell=True) print((" Finished running: " + commandline)) diff --git a/Examples/python/import_packages/from_init3/runme.py b/Examples/python/import_packages/from_init3/runme.py index c9c46a4da..100c97b9e 100644 --- a/Examples/python/import_packages/from_init3/runme.py +++ b/Examples/python/import_packages/from_init3/runme.py @@ -4,7 +4,7 @@ import sys def run_except_on_windows(commandline, env=None): if os.name != "nt" and sys.platform != "cygwin": - # Strange failures on windows/cygin/mingw + # Strange failures on windows/cygwin/mingw subprocess.check_call(commandline, env=env, shell=True) print((" Finished running: " + commandline)) diff --git a/Examples/python/import_packages/namespace_pkg/nonpkg.py b/Examples/python/import_packages/namespace_pkg/nonpkg.py index 52be74db4..e87289089 100644 --- a/Examples/python/import_packages/namespace_pkg/nonpkg.py +++ b/Examples/python/import_packages/namespace_pkg/nonpkg.py @@ -4,7 +4,7 @@ import sys def run_except_on_windows(commandline, env=None): if os.name != "nt" and sys.platform != "cygwin": - # Strange failures on windows/cygin/mingw + # Strange failures on windows/cygwin/mingw subprocess.check_call(commandline, env=env, shell=True) print(" Finished running: " + commandline) diff --git a/Examples/python/import_packages/namespace_pkg/normal.py b/Examples/python/import_packages/namespace_pkg/normal.py index 0eb8f517c..f8fb025ad 100644 --- a/Examples/python/import_packages/namespace_pkg/normal.py +++ b/Examples/python/import_packages/namespace_pkg/normal.py @@ -4,7 +4,7 @@ import sys def run_except_on_windows(commandline, env=None): if os.name != "nt" and sys.platform != "cygwin": - # Strange failures on windows/cygin/mingw + # Strange failures on windows/cygwin/mingw subprocess.check_call(commandline, env=env, shell=True) print(" Finished running: " + commandline) diff --git a/Examples/python/import_packages/namespace_pkg/nstest.py b/Examples/python/import_packages/namespace_pkg/nstest.py index 4d618a6ad..0cd2a997d 100644 --- a/Examples/python/import_packages/namespace_pkg/nstest.py +++ b/Examples/python/import_packages/namespace_pkg/nstest.py @@ -6,7 +6,7 @@ import zipfile def run_except_on_windows(commandline, env=None): if os.name != "nt" and sys.platform != "cygwin": - # Strange failures on windows/cygin/mingw + # Strange failures on windows/cygwin/mingw subprocess.check_call(commandline, env=env, shell=True) print(" Finished running: " + commandline) diff --git a/Examples/python/import_packages/namespace_pkg/split.py b/Examples/python/import_packages/namespace_pkg/split.py index 9d786dc07..ed259b618 100644 --- a/Examples/python/import_packages/namespace_pkg/split.py +++ b/Examples/python/import_packages/namespace_pkg/split.py @@ -4,7 +4,7 @@ import sys def run_except_on_windows(commandline, env=None): if os.name != "nt" and sys.platform != "cygwin": - # Strange failures on windows/cygin/mingw + # Strange failures on windows/cygwin/mingw subprocess.check_call(commandline, env=env, shell=True) print(" Finished running: " + commandline) diff --git a/Examples/python/import_packages/namespace_pkg/zipsplit.py b/Examples/python/import_packages/namespace_pkg/zipsplit.py index 30434f9c0..474f2c742 100644 --- a/Examples/python/import_packages/namespace_pkg/zipsplit.py +++ b/Examples/python/import_packages/namespace_pkg/zipsplit.py @@ -4,7 +4,7 @@ import sys def run_except_on_windows(commandline, env=None): if os.name != "nt" and sys.platform != "cygwin": - # Strange failures on windows/cygin/mingw + # Strange failures on windows/cygwin/mingw subprocess.check_call(commandline, env=env, shell=True) print(" Finished running: " + commandline) diff --git a/Examples/python/import_packages/relativeimport1/runme.py b/Examples/python/import_packages/relativeimport1/runme.py index 3073cb5a7..ff8ca0427 100644 --- a/Examples/python/import_packages/relativeimport1/runme.py +++ b/Examples/python/import_packages/relativeimport1/runme.py @@ -4,7 +4,7 @@ import sys def run_except_on_windows(commandline, env=None): if os.name != "nt" and sys.platform != "cygwin": - # Strange failures on windows/cygin/mingw + # Strange failures on windows/cygwin/mingw subprocess.check_call(commandline, env=env, shell=True) print((" Finished running: " + commandline)) diff --git a/Examples/python/import_packages/relativeimport2/runme.py b/Examples/python/import_packages/relativeimport2/runme.py index 9ab8d9471..35c57e10b 100644 --- a/Examples/python/import_packages/relativeimport2/runme.py +++ b/Examples/python/import_packages/relativeimport2/runme.py @@ -4,7 +4,7 @@ import sys def run_except_on_windows(commandline, env=None): if os.name != "nt" and sys.platform != "cygwin": - # Strange failures on windows/cygin/mingw + # Strange failures on windows/cygwin/mingw subprocess.check_call(commandline, env=env, shell=True) print((" Finished running: " + commandline)) diff --git a/Examples/python/import_packages/relativeimport3/runme.py b/Examples/python/import_packages/relativeimport3/runme.py index 3073cb5a7..ff8ca0427 100644 --- a/Examples/python/import_packages/relativeimport3/runme.py +++ b/Examples/python/import_packages/relativeimport3/runme.py @@ -4,7 +4,7 @@ import sys def run_except_on_windows(commandline, env=None): if os.name != "nt" and sys.platform != "cygwin": - # Strange failures on windows/cygin/mingw + # Strange failures on windows/cygwin/mingw subprocess.check_call(commandline, env=env, shell=True) print((" Finished running: " + commandline)) diff --git a/Examples/python/import_packages/same_modnames1/runme.py b/Examples/python/import_packages/same_modnames1/runme.py index 05846ed9d..41d84aa3d 100644 --- a/Examples/python/import_packages/same_modnames1/runme.py +++ b/Examples/python/import_packages/same_modnames1/runme.py @@ -4,7 +4,7 @@ import sys def run_except_on_windows(commandline, env=None): if os.name != "nt" and sys.platform != "cygwin": - # Strange failures on windows/cygin/mingw + # Strange failures on windows/cygwin/mingw subprocess.check_call(commandline, env=env, shell=True) print((" Finished running: " + commandline)) diff --git a/Examples/python/import_packages/same_modnames2/runme.py b/Examples/python/import_packages/same_modnames2/runme.py index 190dadc77..48c209b86 100644 --- a/Examples/python/import_packages/same_modnames2/runme.py +++ b/Examples/python/import_packages/same_modnames2/runme.py @@ -4,7 +4,7 @@ import sys def run_except_on_windows(commandline, env=None): if os.name != "nt" and sys.platform != "cygwin": - # Strange failures on windows/cygin/mingw + # Strange failures on windows/cygwin/mingw subprocess.check_call(commandline, env=env, shell=True) print((" Finished running: " + commandline)) diff --git a/Examples/python/import_packages/split_modules/vanilla/runme.py b/Examples/python/import_packages/split_modules/vanilla/runme.py index 0f7b8806b..723eb3aaa 100644 --- a/Examples/python/import_packages/split_modules/vanilla/runme.py +++ b/Examples/python/import_packages/split_modules/vanilla/runme.py @@ -4,7 +4,7 @@ import sys def run_except_on_windows(commandline, env=None): if os.name != "nt" and sys.platform != "cygwin": - # Strange failures on windows/cygin/mingw + # Strange failures on windows/cygwin/mingw subprocess.check_call(commandline, env=env, shell=True) print((" Finished running: " + commandline)) diff --git a/Examples/python/import_packages/split_modules/vanilla_split/runme.py b/Examples/python/import_packages/split_modules/vanilla_split/runme.py index 0f7b8806b..723eb3aaa 100644 --- a/Examples/python/import_packages/split_modules/vanilla_split/runme.py +++ b/Examples/python/import_packages/split_modules/vanilla_split/runme.py @@ -4,7 +4,7 @@ import sys def run_except_on_windows(commandline, env=None): if os.name != "nt" and sys.platform != "cygwin": - # Strange failures on windows/cygin/mingw + # Strange failures on windows/cygwin/mingw subprocess.check_call(commandline, env=env, shell=True) print((" Finished running: " + commandline)) diff --git a/Examples/ruby/exceptproxy/example.i b/Examples/ruby/exceptproxy/example.i index ad0c23acb..3a3077f8a 100644 --- a/Examples/ruby/exceptproxy/example.i +++ b/Examples/ruby/exceptproxy/example.i @@ -16,7 +16,7 @@ /* The EmptyError doesn't appear in a throw declaration, and hence we need to tell SWIG that the dequeue method throws it. This can - now be done via the %catchs feature. */ + now be done via the %catches feature. */ %catches(FullError) *::enqueue; %catches(EmptyError) *::dequeue(); diff --git a/Examples/test-suite/php/director_extend_runme.php b/Examples/test-suite/php/director_extend_runme.php index 418985476..3c6dd6b1d 100644 --- a/Examples/test-suite/php/director_extend_runme.php +++ b/Examples/test-suite/php/director_extend_runme.php @@ -17,6 +17,6 @@ class MyObject extends SpObject{ $m = new MyObject(); check::equal($m->dummy(), 666, "1st call"); -check::equal($m->dummy(), 666, "2st call"); // Locked system +check::equal($m->dummy(), 666, "2nd call"); // Locked system check::done(); diff --git a/Source/CParse/parser.y b/Source/CParse/parser.y index 9ecb65ba1..1ae3a59db 100644 --- a/Source/CParse/parser.y +++ b/Source/CParse/parser.y @@ -25,7 +25,7 @@ %{ #define yylex yylex -/* doh.h uses #pragma GCC posion with GCC to prevent direct calls to certain +/* doh.h uses #pragma GCC poison with GCC to prevent direct calls to certain * standard C library functions being introduced, but those cause errors due * to checks like `#if defined YYMALLOC || defined malloc` in the bison * template code. We can't easily arrange to include headers after that diff --git a/Source/Modules/r.cxx b/Source/Modules/r.cxx index 541e7e622..536ee1243 100644 --- a/Source/Modules/r.cxx +++ b/Source/Modules/r.cxx @@ -940,7 +940,7 @@ int R::OutputClassMethodsTable(File *) { * The entries are indexed by _set and * _get. Each entry is a List *. - * out - the stram where the code is to be written. This is the S + * out - the stream where the code is to be written. This is the S * code stream as we generate only S code here. * --------------------------------------------------------------*/