[Python-checkins] cpython (2.7): Fix markup to not add parens to the "hashlib.md5" constructor when the object

georg.brandl python-checkins at python.org
Sun Oct 6 09:48:58 CEST 2013


http://hg.python.org/cpython/rev/a1b10232f1b5
changeset:   86008:a1b10232f1b5
branch:      2.7
user:        Georg Brandl <georg at python.org>
date:        Sun Oct 06 09:48:26 2013 +0200
summary:
  Fix markup to not add parens to the "hashlib.md5" constructor when the object is meant, not the call.

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


diff --git a/Doc/library/hmac.rst b/Doc/library/hmac.rst
--- a/Doc/library/hmac.rst
+++ b/Doc/library/hmac.rst
@@ -20,7 +20,7 @@
 
    Return a new hmac object.  If *msg* is present, the method call ``update(msg)``
    is made. *digestmod* is the digest constructor or module for the HMAC object to
-   use. It defaults to  the :func:`hashlib.md5` constructor.
+   use. It defaults to  the :data:`hashlib.md5` constructor.
 
 
 An HMAC object has the following methods:

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


More information about the Python-checkins mailing list