summaryrefslogtreecommitdiffstats
path: root/Doc/library/hashlib.rst
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2013-10-04 02:21:02 (GMT)
committerJesus Cea <jcea@jcea.es>2013-10-04 02:21:02 (GMT)
commitcc5d49e3daeeef7809dcc93a22f0e5185961185f (patch)
tree75d3a3ddbac0ac358a619ab2bf137ec17596d9c5 /Doc/library/hashlib.rst
parent5f0f51239b132f7dd09b5d54aeb11a9d4b3a2204 (diff)
parent5b22dd87aa39087f07987f788a0bbd2464e2a8b5 (diff)
downloadcpython-cc5d49e3daeeef7809dcc93a22f0e5185961185f.zip
cpython-cc5d49e3daeeef7809dcc93a22f0e5185961185f.tar.gz
cpython-cc5d49e3daeeef7809dcc93a22f0e5185961185f.tar.bz2
MERGE: Close #19160: Inconsistent size for GIL release in hashlib
Diffstat (limited to 'Doc/library/hashlib.rst')
-rw-r--r--Doc/library/hashlib.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/hashlib.rst b/Doc/library/hashlib.rst
index 7941882..0ebb5f6 100644
--- a/Doc/library/hashlib.rst
+++ b/Doc/library/hashlib.rst
@@ -41,7 +41,7 @@ concatenation of the data fed to it so far using the :meth:`digest` or
.. note::
For better multithreading performance, the Python :term:`GIL` is released for
- data larger than 2048 bytes at object creation or on update.
+ data larger than 2047 bytes at object creation or on update.
.. note::
@@ -148,7 +148,7 @@ A hash object has the following methods:
.. versionchanged:: 3.1
The Python GIL is released to allow other threads to run while hash
- updates on data larger than 2048 bytes is taking place when using hash
+ updates on data larger than 2047 bytes is taking place when using hash
algorithms supplied by OpenSSL.