[Python-checkins] bpo-39576: Clarify the word size for the 32-bit build. (GH-18616) (#18618)

Miss Islington (bot) webhook-mailer at python.org
Sun Feb 23 08:44:33 EST 2020


https://github.com/python/cpython/commit/c6ecd9c14081a787959e13df33e250102a658154
commit: c6ecd9c14081a787959e13df33e250102a658154
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-02-23T14:44:28+01:00
summary:

bpo-39576: Clarify the word size for the 32-bit build. (GH-18616) (#18618)

(cherry picked from commit b76518d43fb82ed9e5d27025d18c90a23d525c90)

Authored-by: Stefan Krah <skrah at bytereef.org>

files:
M Doc/library/decimal.rst

diff --git a/Doc/library/decimal.rst b/Doc/library/decimal.rst
index 2a51429bdff5c..4e640cc695990 100644
--- a/Doc/library/decimal.rst
+++ b/Doc/library/decimal.rst
@@ -2155,8 +2155,8 @@ RAM and expect 10 simultaneous operands using a maximum of 500MB each::
 
    >>> import sys
    >>>
-   >>> # Maximum number of digits for a single operand using 500MB in 8 byte words
-   >>> # with 19 (9 for the 32-bit version) digits per word:
+   >>> # Maximum number of digits for a single operand using 500MB in 8-byte words
+   >>> # with 19 digits per word (4-byte and 9 digits for the 32-bit build):
    >>> maxdigits = 19 * ((500 * 1024**2) // 8)
    >>>
    >>> # Check that this works:



More information about the Python-checkins mailing list