about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2023-05-20 13:37:47 +0000
committerPaul Pluzhnikov <ppluzhnikov@google.com>2023-06-02 01:39:48 +0000
commit7f0d9e61f40c669fca3cfd1e342fa8236c7220b7 (patch)
treee02ce0ba813f2cb4f20643988ec030292784cab6 /scripts
parent5013f6fc6c44160e8ec6bcd34ba676e85d9d6ab6 (diff)
downloadglibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.tar.gz
glibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.tar.xz
glibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.zip
Fix all the remaining misspellings -- BZ 25337
Diffstat (limited to 'scripts')
-rw-r--r--scripts/dso-ordering-test.py2
-rw-r--r--scripts/glibcelf.py2
-rw-r--r--scripts/glibcpp.py6
-rw-r--r--scripts/pylintrc2
4 files changed, 6 insertions, 6 deletions
diff --git a/scripts/dso-ordering-test.py b/scripts/dso-ordering-test.py
index b069b5ad76..e4da3d64fd 100644
--- a/scripts/dso-ordering-test.py
+++ b/scripts/dso-ordering-test.py
@@ -1069,7 +1069,7 @@ def process_testcase(t):
                           t.test_name))
     t.sh.close()
 
-# Decription file parsing
+# Description file parsing
 def parse_description_file(filename):
     global default_tunable_options
     global current_input_lineno
diff --git a/scripts/glibcelf.py b/scripts/glibcelf.py
index 6f48eee129..b52e83d613 100644
--- a/scripts/glibcelf.py
+++ b/scripts/glibcelf.py
@@ -275,7 +275,7 @@ class ElfClass(_TypedConstant):
 _register_elf_h(ElfClass, prefix='ELFCLASS')
 
 class ElfData(_TypedConstant):
-    """ELF endianess.  Type of EI_DATA values."""
+    """ELF endianness.  Type of EI_DATA values."""
 _register_elf_h(ElfData, prefix='ELFDATA')
 
 class Machine(_TypedConstant):
diff --git a/scripts/glibcpp.py b/scripts/glibcpp.py
index 5dc99f0120..4e1326c10b 100644
--- a/scripts/glibcpp.py
+++ b/scripts/glibcpp.py
@@ -222,7 +222,7 @@ class MacroDefinition(collections.namedtuple('MacroDefinition',
     args is None for a macro that is not function-like.  Otherwise, it
     is a tuple that contains the macro argument name tokens.
 
-    body is a tuple that contains the tokens that constitue the body
+    body is a tuple that contains the tokens that constitute the body
     of the macro definition (excluding whitespace).
 
     error is None if no error was detected, or otherwise a problem
@@ -242,7 +242,7 @@ class MacroDefinition(collections.namedtuple('MacroDefinition',
 
     @property
     def line(self):
-        """Return the line number of the macro defintion."""
+        """Return the line number of the macro definition."""
         return self.name_token.line
 
     @property
@@ -387,7 +387,7 @@ def macro_eval(macro_defs, reporter):
     evaluated = OrderedDict()
 
     # String to macro definitions during evaluation.  Nice error
-    # reporting relies on determinstic iteration order.
+    # reporting relies on deterministic iteration order.
     stack = OrderedDict()
 
     def eval_token(current, token):
diff --git a/scripts/pylintrc b/scripts/pylintrc
index c92f100b4b..d772cb0a7d 100644
--- a/scripts/pylintrc
+++ b/scripts/pylintrc
@@ -33,7 +33,7 @@ load-plugins=
 # can either give multiple identifiers separated by comma (,) or put this
 # option multiple times (only on the command line, not in the configuration
 # file where it should appear only once).You can also use "--disable=all" to
-# disable everything first and then reenable specific checks. For example, if
+# disable everything first and then re-enable specific checks. For example, if
 # you want to run only the similarities checker, you can use "--disable=all
 # --enable=similarities". If you want to run only the classes checker, but have
 # no Warning level messages displayed, use"--disable=all --enable=classes