Skip to content

Commit da56601

Browse files
authored
[3.9] Fix typos in the Tools directory (GH-28769) (GH-28800)
Like #28744 but for the Tools directory. Automerge-Triggered-By: GH:pablogsal (cherry picked from commit 682aecf)
1 parent 78efc9a commit da56601

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

Tools/peg_generator/pegen/c_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ def handle_alt_normal(self, node: Alt, is_gather: bool, rulename: Optional[str])
685685
self.print(
686686
f'D(fprintf(stderr, "%*c+ {rulename}[%d-%d]: %s succeeded!\\n", p->level, \' \', _mark, p->mark, "{node_str}"));'
687687
)
688-
# Prepare to emmit the rule action and do so
688+
# Prepare to emit the rule action and do so
689689
if node.action and "EXTRA" in node.action:
690690
self._set_up_token_end_metadata_extraction()
691691
if self.skip_actions:

Tools/peg_generator/pegen/first_sets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def visit_Alt(self, item: Alt) -> Set[str]:
5959
result -= to_remove
6060

6161
# If the set of new terminals can start with the empty string,
62-
# it means that the item is completelly nullable and we should
62+
# it means that the item is completely nullable and we should
6363
# also considering at least the next item in case the current
6464
# one fails to parse.
6565

Tools/peg_generator/scripts/download_pypi_packages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def main() -> None:
7272

7373
package_json = load_json(package_name)
7474
try:
75-
print(f"Dowloading and compressing package {package_name} ... ", end="")
75+
print(f"Downloading and compressing package {package_name} ... ", end="")
7676
download_package_code(package_name, package_json)
7777
print("Done")
7878
except (IndexError, KeyError):

Tools/pynche/ColorDB.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
trouble reading the file, None is returned. You can pass get_colordb() an
1010
optional filetype argument.
1111
12-
Supporte file types are:
12+
Supported file types are:
1313
1414
X_RGB_TXT -- X Consortium rgb.txt format files. Three columns of numbers
1515
from 0 .. 255 separated by whitespace. Arbitrary trailing

Tools/scripts/dutree.doc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ From the keyboard of [email protected] (Felix Lee):
1515
:And Perl is definitely awkward with data types. I haven't yet found a
1616
:pleasant way of shoving non-trivial data types into Perl's grammar.
1717

18-
Yes, it's pretty aweful at that, alright. Sometimes I write perl programs
18+
Yes, it's pretty awful at that, alright. Sometimes I write perl programs
1919
that need them, and sometimes it just takes a little creativity. But
2020
sometimes it's not worth it. I actually wrote a C program the other day
2121
(gasp) because I didn't want to deal with a game matrix with six links per node.

0 commit comments

Comments
 (0)