]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typos in comments (#94305)
authoryutotnh <57719497+yutotnh@users.noreply.github.com>
Tue, 28 Jun 2022 14:28:21 +0000 (23:28 +0900)
committerGitHub <noreply@github.com>
Tue, 28 Jun 2022 14:28:21 +0000 (16:28 +0200)
Mac/BuildScript/build-installer.py
Tools/c-analyzer/c_parser/parser/__init__.py

index 50b55f9cd1da84780410a60d603344fbc5f0a6cb..a1d31c423814b325f7992f798c96d31b889f8792 100755 (executable)
@@ -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)
index b5eae2ed92d0dac8bcf1356de5639d5164112082..0343c2d68aac9f0e4a9c0c6d59c35019d0c663bc 100644 (file)
@@ -42,7 +42,7 @@ separators:
    + (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
 
@@ -92,7 +92,7 @@ Here are the cases where we've taken shortcuts or made assumptions:
 * 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