[Python-checkins] cpython (3.4): Issues #21948 and #16040: Fix typos.

berker.peksag python-checkins at python.org
Wed Jul 9 19:16:34 CEST 2014


http://hg.python.org/cpython/rev/5be778fec115
changeset:   91620:5be778fec115
branch:      3.4
parent:      91614:afdbc02e4197
user:        Berker Peksag <berker.peksag at gmail.com>
date:        Wed Jul 09 20:15:28 2014 +0300
summary:
  Issues #21948 and #16040: Fix typos.

files:
  Doc/library/hmac.rst |  2 +-
  Lib/nntplib.py       |  2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Doc/library/hmac.rst b/Doc/library/hmac.rst
--- a/Doc/library/hmac.rst
+++ b/Doc/library/hmac.rst
@@ -25,7 +25,7 @@
    .. 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
--- a/Lib/nntplib.py
+++ b/Lib/nntplib.py
@@ -86,7 +86,7 @@
            ]
 
 # 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

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list