Skip to content

Commit 34df9e7

Browse files
[3.11] Change 'dependant' to 'dependent' (GH-103745) (#103754)
Co-authored-by: Christopher Chavez <[email protected]>
1 parent e40db6e commit 34df9e7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Doc/using/windows.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ user's system, including environment variables, system registry settings, and
457457
installed packages. The standard library is included as pre-compiled and
458458
optimized ``.pyc`` files in a ZIP, and ``python3.dll``, ``python37.dll``,
459459
``python.exe`` and ``pythonw.exe`` are all provided. Tcl/tk (including all
460-
dependants, such as Idle), pip and the Python documentation are not included.
460+
dependents, such as Idle), pip and the Python documentation are not included.
461461

462462
.. note::
463463

Lib/idlelib/idle_test/test_sidebar.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ def test_scroll(self):
328328
self.assertEqual(self.linenumber.sidebar_text.index('@0,0'), '11.0')
329329

330330
# Generate a mouse-wheel event and make sure it scrolled up or down.
331-
# The meaning of the "delta" is OS-dependant, so this just checks for
331+
# The meaning of the "delta" is OS-dependent, so this just checks for
332332
# any change.
333333
self.linenumber.sidebar_text.event_generate('<MouseWheel>',
334334
x=0, y=0,
@@ -691,7 +691,7 @@ def test_mousewheel(self):
691691
self.assertIsNotNone(text.dlineinfo(text.index(f'{last_lineno}.0')))
692692

693693
# Scroll up using the <MouseWheel> event.
694-
# The meaning delta is platform-dependant.
694+
# The meaning of delta is platform-dependent.
695695
delta = -1 if sys.platform == 'darwin' else 120
696696
sidebar.canvas.event_generate('<MouseWheel>', x=0, y=0, delta=delta)
697697
yield

0 commit comments

Comments
 (0)