Skip to content

Commit 9646630

Browse files
GiantRobatomatrixise
authored andcommitted
bpo-36766: Typos in docs and code comments (GH-13116)
1 parent 3921b1c commit 9646630

File tree

22 files changed

+22
-22
lines changed

22 files changed

+22
-22
lines changed

Doc/library/email.generator.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ to be using :class:`BytesGenerator`, and not :class:`Generator`.
188188
(This is required because strings cannot represent non-ASCII bytes.)
189189
Convert any bytes with the high bit set as needed using an
190190
ASCII-compatible :mailheader:`Content-Transfer-Encoding`. That is,
191-
transform parts with non-ASCII :mailheader:`Cotnent-Transfer-Encoding`
191+
transform parts with non-ASCII :mailheader:`Content-Transfer-Encoding`
192192
(:mailheader:`Content-Transfer-Encoding: 8bit`) to an ASCII compatible
193193
:mailheader:`Content-Transfer-Encoding`, and encode RFC-invalid non-ASCII
194194
bytes in headers using the MIME ``unknown-8bit`` character set, thus

Doc/library/pyclbr.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ modules.
4444

4545
.. versionadded:: 3.7
4646
Descriptors for nested definitions. They are accessed through the
47-
new children attibute. Each has a new parent attribute.
47+
new children attribute. Each has a new parent attribute.
4848

4949
The descriptors returned by these functions are instances of
5050
Function and Class classes. Users are not expected to create instances

Lib/idlelib/configdialog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2225,7 +2225,7 @@ def detach(self):
22252225
'General': '''
22262226
General:
22272227
2228-
AutoComplete: Popupwait is milleseconds to wait after key char, without
2228+
AutoComplete: Popupwait is milliseconds to wait after key char, without
22292229
cursor movement, before popping up completion box. Key char is '.' after
22302230
identifier or a '/' (or '\\' on Windows) within a string.
22312231

Lib/idlelib/help.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ <h3>Developing tkinter applications<a class="headerlink" href="#developing-tkint
721721
<span class="pre">root</span> <span class="pre">=</span> <span class="pre">tk.Tk()</span></code> in standard Python and nothing appears. Enter the same
722722
in IDLE and a tk window appears. In standard Python, one must also enter
723723
<code class="docutils literal notranslate"><span class="pre">root.update()</span></code> to see the window. IDLE does the equivalent in the
724-
background, about 20 times a second, which is about every 50 milleseconds.
724+
background, about 20 times a second, which is about every 50 milliseconds.
725725
Next enter <code class="docutils literal notranslate"><span class="pre">b</span> <span class="pre">=</span> <span class="pre">tk.Button(root,</span> <span class="pre">text='button');</span> <span class="pre">b.pack()</span></code>. Again,
726726
nothing visibly changes in standard Python until one enters <code class="docutils literal notranslate"><span class="pre">root.update()</span></code>.</p>
727727
<p>Most tkinter programs run <code class="docutils literal notranslate"><span class="pre">root.mainloop()</span></code>, which usually does not

Lib/idlelib/help.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Contents are subject to revision at any time, without notice.
33
44
5-
Help => About IDLE: diplay About Idle dialog
5+
Help => About IDLE: display About Idle dialog
66
77
<to be moved here from help_about.py>
88

Lib/idlelib/idle_test/test_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ def test_get_current_keyset(self):
521521
def test_get_keyset(self):
522522
conf = self.mock_config()
523523

524-
# Conflic with key set, should be disable to ''
524+
# Conflict with key set, should be disable to ''
525525
conf.defaultCfg['extensions'].add_section('Foobar')
526526
conf.defaultCfg['extensions'].add_section('Foobar_cfgBindings')
527527
conf.defaultCfg['extensions'].set('Foobar', 'enable', 'True')

Lib/lib2to3/pgen2/tokenize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ def untokenize(iterable):
321321
Round-trip invariant for full input:
322322
Untokenized source will match input source exactly
323323
324-
Round-trip invariant for limited intput:
324+
Round-trip invariant for limited input:
325325
# Output text will tokenize the back to the input
326326
t1 = [tok[:2] for tok in generate_tokens(f.readline)]
327327
newcode = untokenize(t1)

Lib/multiprocessing/resource_sharer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def detach(self):
5959

6060

6161
class _ResourceSharer(object):
62-
'''Manager for resouces using background thread.'''
62+
'''Manager for resources using background thread.'''
6363
def __init__(self):
6464
self._key = 0
6565
self._cache = {}

Lib/pathlib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
# Internals
3535
#
3636

37-
# EBADF - guard agains macOS `stat` throwing EBADF
37+
# EBADF - guard against macOS `stat` throwing EBADF
3838
_IGNORED_ERROS = (ENOENT, ENOTDIR, EBADF)
3939

4040
_IGNORED_WINERRORS = (

Lib/platform.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
# type information
7373
# 0.4.0 - added win32_ver() and modified the platform() output for WinXX
7474
# 0.3.4 - fixed a bug in _follow_symlinks()
75-
# 0.3.3 - fixed popen() and "file" command invokation bugs
75+
# 0.3.3 - fixed popen() and "file" command invocation bugs
7676
# 0.3.2 - added architecture() API and support for it in platform()
7777
# 0.3.1 - fixed syscmd_ver() RE to support Windows NT
7878
# 0.3.0 - added system alias support

0 commit comments

Comments
 (0)