Skip to content

Commit

Permalink
Fix typos in comments (python#94305)
Browse files Browse the repository at this point in the history
  • Loading branch information
yutotnh authored and gvanrossum committed Jun 30, 2022
1 parent 7613609 commit e2a0a60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Mac/BuildScript/build-installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def internalTk():

# Do we use 8.6.8 when building our own copy
# of Tcl/Tk or a modern version.
# We use the old version when buildin on
# We use the old version when building on
# old versions of macOS due to build issues.
def useOldTk():
return getBuildTuple() < (10, 15)
Expand Down
4 changes: 2 additions & 2 deletions Tools/c-analyzer/c_parser/parser/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
+ (stmt) case: between expression and stmt
+ (stmt) default: between "default" and stmt
* "="
+ (decl) delaration: between decl and initializer
+ (decl) declaration: between decl and initializer
+ (decl) enumerator: between identifier and "initializer"
+ (expr) assignment: between "var" and expr
Expand Down Expand Up @@ -92,7 +92,7 @@
* no "inline" type decls in function return types
* no superfluous parentheses in declarators
* var decls in for loops are always "simple" (e.g. no inline types)
* only inline struct/union/enum decls may be anonymouns (without a name)
* only inline struct/union/enum decls may be anonymous (without a name)
* no function pointers in function pointer parameters
* for loop "headers" do not have curly braces (e.g. compound init)
* syntactically, variable decls do not overlap with stmts/exprs, except
Expand Down

0 comments on commit e2a0a60

Please sign in to comment.