From bd584d559b226246be35f226c04f4590311031bc Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Thu, 20 Dec 2012 20:22:47 -0600 Subject: fix typo (#16687) Patch from Jeff Knupp. --- Doc/library/hashlib.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/hashlib.rst b/Doc/library/hashlib.rst index bc8ab2c..19d3e4c 100644 --- a/Doc/library/hashlib.rst +++ b/Doc/library/hashlib.rst @@ -45,7 +45,7 @@ concatenation of the data fed to it so far using the :meth:`digest` or .. note:: - Feeding string objects is to :meth:`update` is not supported, as hashes work + Feeding string objects into :meth:`update` is not supported, as hashes work on bytes, not on characters. .. index:: single: OpenSSL; (use in module hashlib) -- cgit v0.12 From 9cb7bd2df486dbf67c03f950738ae6863dfb2617 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Thu, 20 Dec 2012 20:24:37 -0600 Subject: link to GIL as a term Patch from Jeff Knupp. --- Doc/library/hashlib.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/hashlib.rst b/Doc/library/hashlib.rst index 19d3e4c..929d41b 100644 --- a/Doc/library/hashlib.rst +++ b/Doc/library/hashlib.rst @@ -40,7 +40,7 @@ concatenation of the data fed to it so far using the :meth:`digest` or .. note:: - For better multithreading performance, the Python GIL is released for + For better multithreading performance, the Python :term:`GIL` is released for strings of more than 2047 bytes at object creation or on update. .. note:: -- cgit v0.12