Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1f1177d

Browse files
committed
Fix some spelling errors in documentation and code comments
1 parent 3e8a7ad commit 1f1177d

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

Doc/library/ssl.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -827,7 +827,7 @@ SSL sockets also have the following additional methods and attributes:
827827

828828
The :meth:`~SSLSocket.read` and :meth:`~SSLSocket.write` methods are the
829829
low-level methods that read and write unencrypted, application-level data
830-
and and decrypt/encrypt it to encrypted, wire-level data. These methods
830+
and decrypt/encrypt it to encrypted, wire-level data. These methods
831831
require an active SSL connection, i.e. the handshake was completed and
832832
:meth:`SSLSocket.unwrap` was not called.
833833

Doc/library/tracemalloc.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ Snapshot
460460

461461
All inclusive filters are applied at once, a trace is ignored if no
462462
inclusive filters match it. A trace is ignored if at least one exclusive
463-
filter matchs it.
463+
filter matches it.
464464

465465

466466
.. classmethod:: load(filename)

Doc/whatsnew/3.4.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2076,7 +2076,7 @@ using ``-Wd``).
20762076
Deprecations in the Python API
20772077
------------------------------
20782078

2079-
* As mentioned in :ref:`whatsnew-pep-451`, a number of :mod:`importilb`
2079+
* As mentioned in :ref:`whatsnew-pep-451`, a number of :mod:`importlib`
20802080
methods and functions are deprecated: :meth:`importlib.find_loader` is
20812081
replaced by :func:`importlib.util.find_spec`;
20822082
:meth:`importlib.machinery.PathFinder.find_module` is replaced by

Lib/html/entities.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@
221221
'spades': 0x2660, # black spade suit, U+2660 ISOpub
222222
'sub': 0x2282, # subset of, U+2282 ISOtech
223223
'sube': 0x2286, # subset of or equal to, U+2286 ISOtech
224-
'sum': 0x2211, # n-ary sumation, U+2211 ISOamsb
224+
'sum': 0x2211, # n-ary summation, U+2211 ISOamsb
225225
'sup': 0x2283, # superset of, U+2283 ISOtech
226226
'sup1': 0x00b9, # superscript one = superscript digit one, U+00B9 ISOnum
227227
'sup2': 0x00b2, # superscript two = superscript digit two = squared, U+00B2 ISOnum

Misc/HISTORY

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1966,7 +1966,7 @@ Core and Builtins
19661966
change also applies to bytes.splitlines and bytearray.splitlines.
19671967

19681968
- Issue #7732: Don't open a directory as a file anymore while importing a
1969-
module. Ignore the direcotry if its name matchs the module name (e.g.
1969+
module. Ignore the directory if its name matches the module name (e.g.
19701970
"__init__.py") and raise a ImportError instead.
19711971

19721972
- Issue #13021: Missing decref on an error path. Thanks to Suman Saha for

Misc/NEWS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1403,7 +1403,7 @@ Library
14031403

14041404
- Issue #21402: tkinter.ttk now works when default root window is not set.
14051405

1406-
- Issue #10203: sqlite3.Row now truly supports sequence protocol. In particulr
1406+
- Issue #10203: sqlite3.Row now truly supports sequence protocol. In particular
14071407
it supports reverse() and negative indices. Original patch by Claudiu Popa.
14081408

14091409
- Issue #18807: If copying (no symlinks) specified for a venv, then the python

0 commit comments

Comments
 (0)