summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2014-07-09 17:15:28 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2014-07-09 17:15:28 (GMT)
commit740c730086a82f95361f705e7445fe3767d137e3 (patch)
tree233c4f284e819dcab45a69ee62d6dc18884810fe
parentbfff45d611f3435ed4b713124f65fba8e961ff03 (diff)
downloadcpython-740c730086a82f95361f705e7445fe3767d137e3.zip
cpython-740c730086a82f95361f705e7445fe3767d137e3.tar.gz
cpython-740c730086a82f95361f705e7445fe3767d137e3.tar.bz2
Issues #21948 and #16040: Fix typos.
-rw-r--r--Doc/library/hmac.rst2
-rw-r--r--Lib/nntplib.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/hmac.rst b/Doc/library/hmac.rst
index 4858235..b2e377f 100644
--- a/Doc/library/hmac.rst
+++ b/Doc/library/hmac.rst
@@ -25,7 +25,7 @@ This module implements the HMAC algorithm as described by :rfc:`2104`.
.. versionchanged:: 3.4
Parameter *key* can be a bytes or bytearray object.
Parameter *msg* can be of any type supported by :mod:`hashlib`.
- Paramter *digestmod* can be the name of a hash algorithm.
+ Parameter *digestmod* can be the name of a hash algorithm.
.. deprecated:: 3.4
MD5 as implicit default digest for *digestmod* is deprecated.
diff --git a/Lib/nntplib.py b/Lib/nntplib.py
index e2c6579..4ded78a 100644
--- a/Lib/nntplib.py
+++ b/Lib/nntplib.py
@@ -86,7 +86,7 @@ __all__ = ["NNTP",
]
# maximal line length when calling readline(). This is to prevent
-# reading arbitrary lenght lines. RFC 3977 limits NNTP line length to
+# reading arbitrary length lines. RFC 3977 limits NNTP line length to
# 512 characters, including CRLF. We have selected 2048 just to be on
# the safe side.
_MAXLINE = 2048