Skip to content

Commit

Permalink
Fix typos in comments (python#119645)
Browse files Browse the repository at this point in the history
  • Loading branch information
xyb authored May 28, 2024
1 parent a9a74da commit bf08f0a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Tools/clinic/libclinic/dsl_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion Tools/peg_generator/pegen/parser_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Tools/wasm/wasi-env
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"$@"

0 comments on commit bf08f0a

Please sign in to comment.