Skip to content

Commit 7fb7b33

Browse files
committed
A medium-sized batch of typo fixes
1 parent 7a504b3 commit 7fb7b33

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

Lib/sysconfig/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ def _get_sysconfigdata():
364364

365365

366366
def _installation_is_relocated():
367-
"""Is the Python installation running from a different prefix than what was targetted when building?"""
367+
"""Is the Python installation running from a different prefix than what was targeted when building?"""
368368
if os.name != 'posix':
369369
raise NotImplementedError('sysconfig._installation_is_relocated() is currently only supported on POSIX')
370370

Lib/test/test_asyncio/test_sslproto.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def test_connection_lost_when_busy(self):
116116
sock.fileno = mock.Mock(return_value=12345)
117117
sock.send = mock.Mock(side_effect=BrokenPipeError)
118118

119-
# construct StreamWriter chain that contains loop dependant logic this emulates
119+
# construct StreamWriter chain that contains loop dependent logic this emulates
120120
# what _make_ssl_transport() does in BaseSelectorEventLoop
121121
reader = asyncio.StreamReader(limit=2 ** 16, loop=self.loop)
122122
protocol = asyncio.StreamReaderProtocol(reader, loop=self.loop)

Lib/test/test_capi/test_tuple.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ def test__tuple_resize(self):
259259
def test_bug_59313(self):
260260
# Before 3.14, the C-API function PySequence_Tuple
261261
# would create incomplete tuples which were visible to
262-
# the cycle GC, and this test would crash the interpeter.
262+
# the cycle GC, and this test would crash the interpreter.
263263
TAG = object()
264264
tuples = []
265265

Lib/test/test_capi/test_type.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ class FreezeThis(metaclass=Meta):
259259
self.assertEqual(FreezeThis.value, 2)
260260

261261
def test_manual_heap_type(self):
262-
# gh-128923: test that a manually allocated and initailized heap type
262+
# gh-128923: test that a manually allocated and initialized heap type
263263
# works correctly
264264
ManualHeapType = _testcapi.ManualHeapType
265265
for i in range(100):

Lib/test/test_sysconfig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,7 @@ def test_sysconfigdata_json(self):
703703

704704
# Keys dependent on uncontrollable external context
705705
ignore_keys = {'userbase'}
706-
# Keys dependent on Python being run outside the build directrory
706+
# Keys dependent on Python being run outside the build directory
707707
if sysconfig.is_python_build():
708708
ignore_keys |= {'srcdir'}
709709
# Keys dependent on the executable location

0 commit comments

Comments
 (0)