Kaydet (Commit) 740c7300 authored tarafından Berker Peksag's avatar Berker Peksag

Issues #21948 and #16040: Fix typos.

üst bfff45d6
......@@ -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.
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment