diff options
author | Christopher Chavez <chrischavez@gmx.us> | 2023-04-24 13:40:30 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-24 13:40:30 (GMT) |
commit | 014f1319347d7cee3c8aa6c21a1cdf2e4998ef78 (patch) | |
tree | 475f6f61981c8bb3f88847869268fcd07a04c688 /Lib/idlelib | |
parent | af530469954e8ad49f1e071ef31c844b9bfda414 (diff) | |
download | cpython-014f1319347d7cee3c8aa6c21a1cdf2e4998ef78.zip cpython-014f1319347d7cee3c8aa6c21a1cdf2e4998ef78.tar.gz cpython-014f1319347d7cee3c8aa6c21a1cdf2e4998ef78.tar.bz2 |
Change 'dependant' to 'dependent' (#103745)
The word 'dependent' is both an adjective and a noun. A 'dependant' is a British alternative spelling for the noun form. In idlelib.sidebar, 'OS-dependant' is an adjective and clearly wrong. In 'Using', 'dependant' as a noun would be acceptable in Britain, but we use American spellings in Python docs.
https://www.merriam-webster.com/words-at-play/spelling-variants-dependent-vs-dependant
Diffstat (limited to 'Lib/idlelib')
-rw-r--r-- | Lib/idlelib/idle_test/test_sidebar.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/idle_test/test_sidebar.py b/Lib/idlelib/idle_test/test_sidebar.py index 049531e..5506fd2 100644 --- a/Lib/idlelib/idle_test/test_sidebar.py +++ b/Lib/idlelib/idle_test/test_sidebar.py @@ -328,7 +328,7 @@ class LineNumbersTest(unittest.TestCase): self.assertEqual(self.linenumber.sidebar_text.index('@0,0'), '11.0') # Generate a mouse-wheel event and make sure it scrolled up or down. - # The meaning of the "delta" is OS-dependant, so this just checks for + # The meaning of the "delta" is OS-dependent, so this just checks for # any change. self.linenumber.sidebar_text.event_generate('<MouseWheel>', x=0, y=0, @@ -691,7 +691,7 @@ class ShellSidebarTest(unittest.TestCase): self.assertIsNotNone(text.dlineinfo(text.index(f'{last_lineno}.0'))) # Scroll up using the <MouseWheel> event. - # The meaning delta is platform-dependant. + # The meaning of delta is platform-dependent. delta = -1 if sys.platform == 'darwin' else 120 sidebar.canvas.event_generate('<MouseWheel>', x=0, y=0, delta=delta) yield |