From 7f0d9e61f40c669fca3cfd1e342fa8236c7220b7 Mon Sep 17 00:00:00 2001 From: Paul Pluzhnikov Date: Sat, 20 May 2023 13:37:47 +0000 Subject: Fix all the remaining misspellings -- BZ 25337 --- scripts/dso-ordering-test.py | 2 +- scripts/glibcelf.py | 2 +- scripts/glibcpp.py | 6 +++--- scripts/pylintrc | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'scripts') 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 -- cgit 1.4.1