mirror of https://github.com/python/cpython
Fix typos in comments (#119645)
This commit is contained in:
parent
a9a74da4a0
commit
bf08f0a5fe
|
@ -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.
|
||||
|
|
|
@ -41,7 +41,7 @@ from pegen.grammar import (
|
|||
|
||||
|
||||
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
|
||||
|
|
|
@ -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.
|
||||
"$@"
|
||||
|
|
Loading…
Reference in New Issue