Skip to content

Commit 1ce5716

Browse files
committed
Issue #27076: Doc, comment and tests spelling fixes
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
1 parent f8fc94f commit 1ce5716

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+241
-241
lines changed

Doc/glossary.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ Glossary
177177
A buffer is considered contiguous exactly if it is either
178178
*C-contiguous* or *Fortran contiguous*. Zero-dimensional buffers are
179179
C and Fortran contiguous. In one-dimensional arrays, the items
180-
must be layed out in memory next to each other, in order of
180+
must be laid out in memory next to each other, in order of
181181
increasing indexes starting from zero. In multidimensional
182182
C-contiguous arrays, the last index varies the fastest when
183183
visiting items in order of memory address. However, in

Lib/_osx_support.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def _find_appropriate_compiler(_config_vars):
151151
# can only be found inside Xcode.app if the "Command Line Tools"
152152
# are not installed.
153153
#
154-
# Futhermore, the compiler that can be used varies between
154+
# Furthermore, the compiler that can be used varies between
155155
# Xcode releases. Up to Xcode 4 it was possible to use 'gcc-4.2'
156156
# as the compiler, after that 'clang' should be used because
157157
# gcc-4.2 is either not present, or a copy of 'llvm-gcc' that

Lib/asyncio/sslproto.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ def _on_handshake_complete(self, handshake_exc):
603603
self._wakeup_waiter()
604604
self._session_established = True
605605
# In case transport.write() was already called. Don't call
606-
# immediatly _process_write_backlog(), but schedule it:
606+
# immediately _process_write_backlog(), but schedule it:
607607
# _on_handshake_complete() can be called indirectly from
608608
# _process_write_backlog(), and _process_write_backlog() is not
609609
# reentrant.

Lib/cgi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def parse(fp=None, environ=os.environ, keep_blank_values=0, strict_parsing=0):
184184

185185

186186
# parse query string function called from urlparse,
187-
# this is done in order to maintain backward compatiblity.
187+
# this is done in order to maintain backward compatibility.
188188

189189
def parse_qs(qs, keep_blank_values=0, strict_parsing=0):
190190
"""Parse a query given as a string argument."""

Lib/collections/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ def namedtuple(typename, field_names, verbose=False, rename=False):
365365
>>> x, y = p # unpack like a regular tuple
366366
>>> x, y
367367
(11, 22)
368-
>>> p.x + p.y # fields also accessable by name
368+
>>> p.x + p.y # fields also accessible by name
369369
33
370370
>>> d = p._asdict() # convert to a dictionary
371371
>>> d['x']

Lib/dis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ def _get_instructions_bytes(code, varnames=None, names=None, constants=None,
287287
argrepr = ''
288288
if arg is not None:
289289
# Set argval to the dereferenced value of the argument when
290-
# availabe, and argrepr to the string representation of argval.
290+
# available, and argrepr to the string representation of argval.
291291
# _disassemble_bytes needs the string repr of the
292292
# raw name index for LOAD_GLOBAL, LOAD_CONST, etc.
293293
argval = arg

Lib/distutils/msvc9compiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151

5252
# A map keyed by get_platform() return values to values accepted by
5353
# 'vcvarsall.bat'. Note a cross-compile may combine these (eg, 'x86_amd64' is
54-
# the param to cross-compile on x86 targetting amd64.)
54+
# the param to cross-compile on x86 targeting amd64.)
5555
PLAT_TO_VCVARS = {
5656
'win32' : 'x86',
5757
'win-amd64' : 'amd64',

Lib/distutils/tests/test_unixccompiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def gcv(v):
127127
self.assertEqual(self.cc.linker_so[0], 'my_cc')
128128

129129
@unittest.skipUnless(sys.platform == 'darwin', 'test only relevant for OS X')
130-
def test_osx_explict_ldshared(self):
130+
def test_osx_explicit_ldshared(self):
131131
# Issue #18080:
132132
# ensure that setting CC env variable does not change
133133
# explicit LDSHARED setting for linker

Lib/email/_header_value_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2872,7 +2872,7 @@ def parse_content_type_header(value):
28722872
_find_mime_parameters(ctype, value)
28732873
return ctype
28742874
ctype.append(token)
2875-
# XXX: If we really want to follow the formal grammer we should make
2875+
# XXX: If we really want to follow the formal grammar we should make
28762876
# mantype and subtype specialized TokenLists here. Probably not worth it.
28772877
if not value or value[0] != '/':
28782878
ctype.defects.append(errors.InvalidHeaderDefect(

Lib/email/parser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def __init__(self, _class=None, *, policy=compat32):
2323
textual representation of the message.
2424
2525
The string must be formatted as a block of RFC 2822 headers and header
26-
continuation lines, optionally preceeded by a `Unix-from' header. The
26+
continuation lines, optionally preceded by a `Unix-from' header. The
2727
header block is terminated either by the end of the string or by a
2828
blank line.
2929
@@ -87,7 +87,7 @@ def __init__(self, *args, **kw):
8787
textual representation of the message.
8888
8989
The input must be formatted as a block of RFC 2822 headers and header
90-
continuation lines, optionally preceeded by a `Unix-from' header. The
90+
continuation lines, optionally preceded by a `Unix-from' header. The
9191
header block is terminated either by the end of the input or by a
9292
blank line.
9393

Lib/encodings/utf_16.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def reset(self):
7373
self.decoder = None
7474

7575
def getstate(self):
76-
# additonal state info from the base class must be None here,
76+
# additional state info from the base class must be None here,
7777
# as it isn't passed along to the caller
7878
state = codecs.BufferedIncrementalDecoder.getstate(self)[0]
7979
# additional state info we pass to the caller:

Lib/encodings/utf_32.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def reset(self):
6868
self.decoder = None
6969

7070
def getstate(self):
71-
# additonal state info from the base class must be None here,
71+
# additional state info from the base class must be None here,
7272
# as it isn't passed along to the caller
7373
state = codecs.BufferedIncrementalDecoder.getstate(self)[0]
7474
# additional state info we pass to the caller:

Lib/html/parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def goahead(self, end):
143143
# or there's more text incoming. If the latter is True,
144144
# we can't pass the text to handle_data in case we have
145145
# a charref cut in half at end. Try to determine if
146-
# this is the case before proceding by looking for an
146+
# this is the case before proceeding by looking for an
147147
# & near the end and see if it's followed by a space or ;.
148148
amppos = rawdata.rfind('&', max(i, n-34))
149149
if (amppos >= 0 and

Lib/http/cookies.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ class CookieError(Exception):
156156
# a two-way quoting algorithm. Any non-text character is translated
157157
# into a 4 character sequence: a forward-slash followed by the
158158
# three-digit octal equivalent of the character. Any '\' or '"' is
159-
# quoted with a preceeding '\' slash.
159+
# quoted with a preceding '\' slash.
160160
# Because of the way browsers really handle cookies (as opposed to what
161161
# the RFC says) we also encode "," and ";".
162162
#

Lib/importlib/_bootstrap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,7 @@ def _calc___package__(globals):
10431043
def __import__(name, globals=None, locals=None, fromlist=(), level=0):
10441044
"""Import a module.
10451045
1046-
The 'globals' argument is used to infer where the import is occuring from
1046+
The 'globals' argument is used to infer where the import is occurring from
10471047
to handle relative imports. The 'locals' argument is ignored. The
10481048
'fromlist' argument specifies what should exist as attributes on the module
10491049
being imported (e.g. ``from module import <fromlist>``). The 'level'

Lib/lib2to3/btm_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def reduce_tree(node, parent=None):
215215
#reduce to None
216216
new_node = None
217217
elif repeater_node.children[0].value == '+':
218-
#reduce to a single occurence i.e. do nothing
218+
#reduce to a single occurrence i.e. do nothing
219219
pass
220220
else:
221221
#TODO: handle {min, max} repeaters

Lib/lib2to3/fixes/fix_metaclass.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
def has_metaclass(parent):
2727
""" we have to check the cls_node without changing it.
28-
There are two possiblities:
28+
There are two possibilities:
2929
1) clsdef => suite => simple_stmt => expr_stmt => Leaf('__meta')
3030
2) clsdef => simple_stmt => expr_stmt => Leaf('__meta')
3131
"""

Lib/lib2to3/patcomp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
"""Pattern compiler.
55
6-
The grammer is taken from PatternGrammar.txt.
6+
The grammar is taken from PatternGrammar.txt.
77
88
The compiler compiles a pattern to a pytree.*Pattern instance.
99
"""

Lib/locale.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1451,7 +1451,7 @@ def getpreferredencoding(do_setlocale = True):
14511451
0x1809: "en_IE", # English - Ireland
14521452
0x1c09: "en_ZA", # English - South Africa
14531453
0x2009: "en_JA", # English - Jamaica
1454-
0x2409: "en_CB", # English - Carribbean
1454+
0x2409: "en_CB", # English - Caribbean
14551455
0x2809: "en_BZ", # English - Belize
14561456
0x2c09: "en_TT", # English - Trinidad
14571457
0x3009: "en_ZW", # English - Zimbabwe

Lib/msilib/schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@
731731
('CustomAction','Type','N',1,16383,None, None, None, None, 'The numeric custom action type, consisting of source location, code type, entry, option flags.',),
732732
('CustomAction','Action','N',None, None, None, None, 'Identifier',None, 'Primary key, name of action, normally appears in sequence table unless private use.',),
733733
('CustomAction','Source','Y',None, None, None, None, 'CustomSource',None, 'The table reference of the source of the code.',),
734-
('CustomAction','Target','Y',None, None, None, None, 'Formatted',None, 'Excecution parameter, depends on the type of custom action',),
734+
('CustomAction','Target','Y',None, None, None, None, 'Formatted',None, 'Execution parameter, depends on the type of custom action',),
735735
('DrLocator','Signature_','N',None, None, None, None, 'Identifier',None, 'The Signature_ represents a unique file signature and is also the foreign key in the Signature table.',),
736736
('DrLocator','Path','Y',None, None, None, None, 'AnyPath',None, 'The path on the user system. This is either a subpath below the value of the Parent or a full path. The path may contain properties enclosed within [ ] that will be expanded.',),
737737
('DrLocator','Depth','Y',0,32767,None, None, None, None, 'The depth below the path to which the Signature_ is recursively searched. If absent, the depth is assumed to be 0.',),

Lib/pdb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ def user_exception(self, frame, exc_info):
300300

301301
# An 'Internal StopIteration' exception is an exception debug event
302302
# issued by the interpreter when handling a subgenerator run with
303-
# 'yield from' or a generator controled by a for loop. No exception has
303+
# 'yield from' or a generator controlled by a for loop. No exception has
304304
# actually occurred in this case. The debugger uses this debug event to
305305
# stop when the debuggee is returning from such generators.
306306
prefix = 'Internal ' if (not exc_traceback

Lib/pickle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -995,7 +995,7 @@ def __init__(self, file, *, fix_imports=True,
995995
meets this interface.
996996
997997
Optional keyword arguments are *fix_imports*, *encoding* and
998-
*errors*, which are used to control compatiblity support for
998+
*errors*, which are used to control compatibility support for
999999
pickle stream generated by Python 2. If *fix_imports* is True,
10001000
pickle will try to map the old Python 2 names to the new names
10011001
used in Python 3. The *encoding* and *errors* tell pickle how

Lib/test/cfgparser.2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@
282282
# either /etc/hosts OR DNS or NIS depending on the settings of
283283
# /etc/host.config, /etc/nsswitch.conf
284284
# and the /etc/resolv.conf file. "host" therefore is system
285-
# configuration dependant. This parameter is most often of use to
285+
# configuration dependent. This parameter is most often of use to
286286
# prevent DNS lookups
287287
# in order to resolve NetBIOS names to IP Addresses. Use with care!
288288
# The example below excludes use of name resolution for machines that

Lib/test/datetimetester.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1227,7 +1227,7 @@ def test_strftime(self):
12271227
#self.assertRaises(ValueError, t.strftime, "%#")
12281228

12291229
#oh well, some systems just ignore those invalid ones.
1230-
#at least, excercise them to make sure that no crashes
1230+
#at least, exercise them to make sure that no crashes
12311231
#are generated
12321232
for f in ["%e", "%", "%#"]:
12331233
try:
@@ -2476,7 +2476,7 @@ def test_backdoor_resistance(self):
24762476
self.theclass(bytes([1] * len(base)), 'EST')
24772477

24782478
# A mixin for classes with a tzinfo= argument. Subclasses must define
2479-
# theclass as a class atribute, and theclass(1, 1, 1, tzinfo=whatever)
2479+
# theclass as a class attribute, and theclass(1, 1, 1, tzinfo=whatever)
24802480
# must be legit (which is true for time and datetime).
24812481
class TZInfoBase:
24822482

Lib/test/test_asyncio/test_subprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ def kill_running():
407407
transport, protocol = yield from create
408408
proc = transport.get_extra_info('subprocess')
409409

410-
# kill the process (but asyncio is not notified immediatly)
410+
# kill the process (but asyncio is not notified immediately)
411411
proc.kill()
412412
proc.wait()
413413

Lib/test/test_capi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ def test_skipitem(self):
461461
test and not for the other, there's a mismatch, and the test fails.
462462
463463
** Some format units have special funny semantics and it would
464-
be difficult to accomodate them here. Since these are all
464+
be difficult to accommodate them here. Since these are all
465465
well-established and properly skipped in skipitem() we can
466466
get away with not testing them--this test is really intended
467467
to catch *new* format units.

Lib/test/test_concurrent_futures.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,7 @@ def test_result_with_timeout(self):
676676
self.assertEqual(SUCCESSFUL_FUTURE.result(timeout=0), 42)
677677

678678
def test_result_with_success(self):
679-
# TODO([email protected]): This test is timing dependant.
679+
# TODO([email protected]): This test is timing dependent.
680680
def notification():
681681
# Wait until the main thread is waiting for the result.
682682
time.sleep(1)
@@ -689,7 +689,7 @@ def notification():
689689
self.assertEqual(f1.result(timeout=5), 42)
690690

691691
def test_result_with_cancel(self):
692-
# TODO([email protected]): This test is timing dependant.
692+
# TODO([email protected]): This test is timing dependent.
693693
def notification():
694694
# Wait until the main thread is waiting for the result.
695695
time.sleep(1)

Lib/test/test_crypt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def test_saltedcrypt(self):
2525
self.assertEqual(len(pw), method.total_size)
2626

2727
def test_methods(self):
28-
# Gurantee that METHOD_CRYPT is the last method in crypt.methods.
28+
# Guarantee that METHOD_CRYPT is the last method in crypt.methods.
2929
self.assertTrue(len(crypt.methods) >= 1)
3030
self.assertEqual(crypt.METHOD_CRYPT, crypt.methods[-1])
3131

Lib/test/test_doctest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ def test_DocTest(): r"""
324324
>>> test.lineno + e2.lineno
325325
26
326326
327-
If the docstring contains inconsistant leading whitespace in the
327+
If the docstring contains inconsistent leading whitespace in the
328328
expected output of an example, then `DocTest` will raise a ValueError:
329329
330330
>>> docstring = r'''

Lib/test/test_email/test__header_value_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2498,7 +2498,7 @@ def mime_parameters_as_value(self,
24982498
# Note that it is undefined what we should do for error recovery when
24992499
# there are duplicate parameter names or duplicate parts in a split
25002500
# part. We choose to ignore all duplicate parameters after the first
2501-
# and to take duplicate or missing rfc 2231 parts in apperance order.
2501+
# and to take duplicate or missing rfc 2231 parts in appearance order.
25022502
# This is backward compatible with get_param's behavior, but the
25032503
# decisions are arbitrary.
25042504

Lib/test/test_email/test_contentmanager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ def test_set_video_mpeg_with_binary_cte(self):
621621
self.assertEqual(m.get_content(), content)
622622

623623
def test_set_application_octet_stream_with_8bit_cte(self):
624-
# In 8bit mode, univeral line end logic applies. It is up to the
624+
# In 8bit mode, universal line end logic applies. It is up to the
625625
# application to make sure the lines are short enough; we don't check.
626626
m = self._make_message()
627627
content = b'b\xFFgus\tcon\nt\rent\n' + b'z'*60 + b'\n'

Lib/test/test_functools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1506,7 +1506,7 @@ def test_compose_mro(self):
15061506
object])
15071507

15081508
# MutableSequence below is registered directly on D. In other words, it
1509-
# preceeds MutableMapping which means single dispatch will always
1509+
# precedes MutableMapping which means single dispatch will always
15101510
# choose MutableSequence here.
15111511
class D(c.defaultdict):
15121512
pass

Lib/test/test_generators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1351,7 +1351,7 @@ def __init__(self, n):
13511351

13521352
# For each square, compute a bit vector of the columns and
13531353
# diagonals it covers, and for each row compute a function that
1354-
# generates the possiblities for the columns in that row.
1354+
# generates the possibilities for the columns in that row.
13551355
self.rowgenerators = []
13561356
for i in rangen:
13571357
rowuses = [(1 << j) | # column ordinal

Lib/test/test_hashlib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ class KDFTests(unittest.TestCase):
449449

450450
pbkdf2_results = {
451451
"sha1": [
452-
# offical test vectors from RFC 6070
452+
# official test vectors from RFC 6070
453453
(bytes.fromhex('0c60c80f961f0e71f3a9b524af6012062fe037a6'), None),
454454
(bytes.fromhex('ea6c014dc72d6f8ccd1ed92ace1d41f0d8de8957'), None),
455455
(bytes.fromhex('4b007901b765489abead49d926f721d065a429c1'), None),

Lib/test/test_http_cookiejar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1729,7 +1729,7 @@ def test_session_cookies(self):
17291729
key = "%s_after" % cookie.value
17301730
counter[key] = counter[key] + 1
17311731

1732-
# a permanent cookie got lost accidently
1732+
# a permanent cookie got lost accidentally
17331733
self.assertEqual(counter["perm_after"], counter["perm_before"])
17341734
# a session cookie hasn't been cleared
17351735
self.assertEqual(counter["session_after"], 0)

Lib/test/test_httpservers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def do_NOTFOUND(self):
9999

100100
def do_EXPLAINERROR(self):
101101
self.send_error(999, "Short Message",
102-
"This is a long \n explaination")
102+
"This is a long \n explanation")
103103

104104
def do_CUSTOM(self):
105105
self.send_response(999)

Lib/test/test_linecache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def test_lazycache_smoke(self):
139139
self.assertEqual(
140140
True, linecache.lazycache(NONEXISTENT_FILENAME, globals()))
141141
self.assertEqual(1, len(linecache.cache[NONEXISTENT_FILENAME]))
142-
# Note here that we're looking up a non existant filename with no
142+
# Note here that we're looking up a nonexistent filename with no
143143
# globals: this would error if the lazy value wasn't resolved.
144144
self.assertEqual(lines, linecache.getlines(NONEXISTENT_FILENAME))
145145

Lib/test/test_lzma.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1211,7 +1211,7 @@ def test_encoding(self):
12111211
self.assertEqual(f.read(), uncompressed)
12121212

12131213
def test_encoding_error_handler(self):
1214-
# Test wih non-default encoding error handler.
1214+
# Test with non-default encoding error handler.
12151215
with BytesIO(lzma.compress(b"foo\xffbar")) as bio:
12161216
with lzma.open(bio, "rt", encoding="ascii", errors="ignore") as f:
12171217
self.assertEqual(f.read(), "foobar")

Lib/test/test_memoryio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ def __init__(me, initvalue, foo):
376376

377377
# Pickle expects the class to be on the module level. Here we use a
378378
# little hack to allow the PickleTestMemIO class to derive from
379-
# self.ioclass without having to define all combinations explictly on
379+
# self.ioclass without having to define all combinations explicitly on
380380
# the module-level.
381381
import __main__
382382
PickleTestMemIO.__module__ = '__main__'

Lib/test/test_pdb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,7 @@ def test_pdb_until_command_for_generator():
824824
"""
825825

826826
def test_pdb_next_command_in_generator_for_loop():
827-
"""The next command on returning from a generator controled by a for loop.
827+
"""The next command on returning from a generator controlled by a for loop.
828828
829829
>>> def test_gen():
830830
... yield 0

0 commit comments

Comments
 (0)