]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] Change 'dependant' to 'dependent' (GH-103745) (#103754)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 24 Apr 2023 14:22:24 +0000 (07:22 -0700)
committerGitHub <noreply@github.com>
Mon, 24 Apr 2023 14:22:24 +0000 (08:22 -0600)
Co-authored-by: Christopher Chavez <chrischavez@gmx.us>
Doc/using/windows.rst
Lib/idlelib/idle_test/test_sidebar.py

index 50c220d77559d909f69437cc467cde28c5e21699..1591982da52f8a96d0e5a36a2159062359ed9e56 100644 (file)
@@ -457,7 +457,7 @@ user's system, including environment variables, system registry settings, and
 installed packages. The standard library is included as pre-compiled and
 optimized ``.pyc`` files in a ZIP, and ``python3.dll``, ``python37.dll``,
 ``python.exe`` and ``pythonw.exe`` are all provided. Tcl/tk (including all
-dependants, such as Idle), pip and the Python documentation are not included.
+dependents, such as Idle), pip and the Python documentation are not included.
 
 .. note::
 
index 049531e66a414e09ad1beab39ed275b37010acff..5506fd2b0e22a510777230fed4cedb5b7cab67c4 100644 (file)
@@ -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