From: Duane Hilton Date: Sat, 27 Dec 2025 07:23:57 +0000 (-0700) Subject: gh-143181: Fix 'overriden' -> 'overridden' in c-api/module.rst (#143182) X-Git-Tag: v3.15.0a5~11^2~200 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5d1e78f7b59ffa3308755b5b2e0f85eb0c6ac890;p=thirdparty%2FPython%2Fcpython.git gh-143181: Fix 'overriden' -> 'overridden' in c-api/module.rst (#143182) * Doc: Fix typo 'overriden' -> 'overridden' in c-api/module.rst * Fix 'overriden' -> 'overridden' in tests --- diff --git a/Doc/c-api/module.rst b/Doc/c-api/module.rst index 22f8b1309aa3..37c92aeb6dcb 100644 --- a/Doc/c-api/module.rst +++ b/Doc/c-api/module.rst @@ -571,7 +571,7 @@ A module's token -- and the *your_token* value to use in the above code -- is: of that slot; - For modules created from an ``PyModExport_*`` :ref:`export hook `: the slots array that the export - hook returned (unless overriden with :c:macro:`Py_mod_token`). + hook returned (unless overridden with :c:macro:`Py_mod_token`). .. c:macro:: Py_mod_token diff --git a/Lib/test/test_build_details.py b/Lib/test/test_build_details.py index ba9afe69ba46..30d9c213077a 100644 --- a/Lib/test/test_build_details.py +++ b/Lib/test/test_build_details.py @@ -33,7 +33,7 @@ except (FileNotFoundError, ImportError): class FormatTestsBase: @property def contents(self): - """Install details file contents. Should be overriden by subclasses.""" + """Install details file contents. Should be overridden by subclasses.""" raise NotImplementedError @property diff --git a/Lib/test/test_dict.py b/Lib/test/test_dict.py index 665b3e843dd3..77a5f2a108d0 100644 --- a/Lib/test/test_dict.py +++ b/Lib/test/test_dict.py @@ -1581,7 +1581,7 @@ class DictTest(unittest.TestCase): with check_unhashable_key(): d.get(key) - # Only TypeError exception is overriden, + # Only TypeError exception is overridden, # other exceptions are left unchanged. class HashError: def __hash__(self): diff --git a/Lib/test/test_set.py b/Lib/test/test_set.py index c0df9507bd7f..203a231201c6 100644 --- a/Lib/test/test_set.py +++ b/Lib/test/test_set.py @@ -661,7 +661,7 @@ class TestSet(TestJointOps, unittest.TestCase): with check_unhashable_element(): myset.discard(elem) - # Only TypeError exception is overriden, + # Only TypeError exception is overridden, # other exceptions are left unchanged. class HashError: def __hash__(self):