From: Stefan Krah Date: Mon, 8 Jun 2020 23:22:03 +0000 (+0200) Subject: [3.7] Revert bpo-39576: Clarify the word size for the 32-bit build. (GH-20744) X-Git-Tag: v3.7.8rc1~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0b79450bc9e93105799528151c48d25af8240a3;p=thirdparty%2FPython%2Fcpython.git [3.7] Revert bpo-39576: Clarify the word size for the 32-bit build. (GH-20744) This reverts commit 24c570bbb82a7cb70576c253a73390accfa7ed78. --- diff --git a/Doc/library/decimal.rst b/Doc/library/decimal.rst index 3dda35fbd35d..f9421aba423f 100644 --- a/Doc/library/decimal.rst +++ b/Doc/library/decimal.rst @@ -2164,8 +2164,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 digits per word (4-byte and 9 digits for the 32-bit build): + >>> # 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: >>> maxdigits = 19 * ((500 * 1024**2) // 8) >>> >>> # Check that this works: