https://github.com/python/cpython/commit/bf08f0a5fe5750904aa4a239945db16d2c43f6e7
commit: bf08f0a5fe5750904aa4a239945db16d2c43f6e7
branch: main
author: Xie Yanbo <[email protected]>
committer: erlend-aasland <[email protected]>
date: 2024-05-28T09:53:32+02:00
summary:

Fix typos in comments (#119645)

files:
M Tools/clinic/libclinic/dsl_parser.py
M Tools/peg_generator/pegen/parser_generator.py
M Tools/wasm/wasi-env

diff --git a/Tools/clinic/libclinic/dsl_parser.py 
b/Tools/clinic/libclinic/dsl_parser.py
index cb18374cf07e3c..ab9b586693d01c 100644
--- a/Tools/clinic/libclinic/dsl_parser.py
+++ b/Tools/clinic/libclinic/dsl_parser.py
@@ -119,7 +119,7 @@ class ParamState(enum.IntEnum):
     # Legal transitions: to LEFT_SQUARE_BEFORE or REQUIRED
     START = 0
 
-    # Left square backets before required params.
+    # Left square brackets before required params.
     LEFT_SQUARE_BEFORE = 1
 
     # In a group, before required params.
diff --git a/Tools/peg_generator/pegen/parser_generator.py 
b/Tools/peg_generator/pegen/parser_generator.py
index ad28f6c27dcb37..3f386b61be5898 100644
--- a/Tools/peg_generator/pegen/parser_generator.py
+++ b/Tools/peg_generator/pegen/parser_generator.py
@@ -41,7 +41,7 @@
 
 
 class RuleCollectorVisitor(GrammarVisitor):
-    """Visitor that invokes a provieded callmaker visitor with just the 
NamedItem nodes"""
+    """Visitor that invokes a provided callmaker visitor with just the 
NamedItem nodes"""
 
     def __init__(self, rules: Dict[str, Rule], callmakervisitor: 
GrammarVisitor) -> None:
         self.rulses = rules
diff --git a/Tools/wasm/wasi-env b/Tools/wasm/wasi-env
index e6c6fb2d8e47e7..95eda863cb62c6 100755
--- a/Tools/wasm/wasi-env
+++ b/Tools/wasm/wasi-env
@@ -71,5 +71,5 @@ export CFLAGS LDFLAGS
 export PKG_CONFIG_PATH PKG_CONFIG_LIBDIR PKG_CONFIG_SYSROOT_DIR
 export PATH
 
-# no exec, it makes arvg[0] path absolute.
+# no exec, it makes argv[0] path absolute.
 "$@"

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to