summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2020-06-09 01:22:03 +0200
committerGitHub <noreply@github.com>2020-06-09 01:22:03 +0200
commitc0b79450bc9e93105799528151c48d25af8240a3 (patch)
tree87228adff8e452aa4372e22be40f298b6ef65f29
parentbpo-40861: Enable optimizations when building liblzma (GH-20724) (diff)
downloadcpython-c0b79450bc9e93105799528151c48d25af8240a3.tar.gz
cpython-c0b79450bc9e93105799528151c48d25af8240a3.tar.bz2
cpython-c0b79450bc9e93105799528151c48d25af8240a3.zip
[3.7] Revert bpo-39576: Clarify the word size for the 32-bit build. (GH-20744)
This reverts commit 24c570bbb82a7cb70576c253a73390accfa7ed78.
-rw-r--r--Doc/library/decimal.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/decimal.rst b/Doc/library/decimal.rst
index 3dda35fbd35..f9421aba423 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: