summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKirill Podoprigora <kirill.bast9@mail.ru>2024-02-03 01:52:58 (GMT)
committerGitHub <noreply@github.com>2024-02-03 01:52:58 (GMT)
commitf3cdd64de8a9d5bad122cc0b285b5c44cd9b202b (patch)
treec4a5ae916d3442df12f03d0dceda1e9f683ed3aa
parentf35c7c070ca6b49c5d6a97be34e6c02f828f5873 (diff)
downloadcpython-f3cdd64de8a9d5bad122cc0b285b5c44cd9b202b.zip
cpython-f3cdd64de8a9d5bad122cc0b285b5c44cd9b202b.tar.gz
cpython-f3cdd64de8a9d5bad122cc0b285b5c44cd9b202b.tar.bz2
``Tools/cases_generator``: Fix typos and incorrect comments. (#114892)
-rw-r--r--Tools/cases_generator/opcode_id_generator.py2
-rw-r--r--Tools/cases_generator/opcode_metadata_generator.py4
-rw-r--r--Tools/cases_generator/py_metadata_generator.py4
-rw-r--r--Tools/cases_generator/uop_metadata_generator.py2
4 files changed, 6 insertions, 6 deletions
diff --git a/Tools/cases_generator/opcode_id_generator.py b/Tools/cases_generator/opcode_id_generator.py
index dbea3d0..5a3009a 100644
--- a/Tools/cases_generator/opcode_id_generator.py
+++ b/Tools/cases_generator/opcode_id_generator.py
@@ -1,6 +1,6 @@
"""Generate the list of opcode IDs.
Reads the instruction definitions from bytecodes.c.
-Writes the IDs to opcode._ids.h by default.
+Writes the IDs to opcode_ids.h by default.
"""
import argparse
diff --git a/Tools/cases_generator/opcode_metadata_generator.py b/Tools/cases_generator/opcode_metadata_generator.py
index 1826a0b..3e9fa3e 100644
--- a/Tools/cases_generator/opcode_metadata_generator.py
+++ b/Tools/cases_generator/opcode_metadata_generator.py
@@ -1,6 +1,6 @@
-"""Generate uop metedata.
+"""Generate opcode metadata.
Reads the instruction definitions from bytecodes.c.
-Writes the metadata to pycore_uop_metadata.h by default.
+Writes the metadata to pycore_opcode_metadata.h by default.
"""
import argparse
diff --git a/Tools/cases_generator/py_metadata_generator.py b/Tools/cases_generator/py_metadata_generator.py
index 43811fd..0dbcd59 100644
--- a/Tools/cases_generator/py_metadata_generator.py
+++ b/Tools/cases_generator/py_metadata_generator.py
@@ -1,6 +1,6 @@
-"""Generate uop metedata.
+"""Generate opcode metadata for Python.
Reads the instruction definitions from bytecodes.c.
-Writes the metadata to pycore_uop_metadata.h by default.
+Writes the metadata to _opcode_metadata.py by default.
"""
import argparse
diff --git a/Tools/cases_generator/uop_metadata_generator.py b/Tools/cases_generator/uop_metadata_generator.py
index d4f3a09..9083ecc 100644
--- a/Tools/cases_generator/uop_metadata_generator.py
+++ b/Tools/cases_generator/uop_metadata_generator.py
@@ -1,4 +1,4 @@
-"""Generate uop metedata.
+"""Generate uop metadata.
Reads the instruction definitions from bytecodes.c.
Writes the metadata to pycore_uop_metadata.h by default.
"""