[Python-checkins] [3.7] Revert bpo-39576: Clarify the word size for the 32-bit build. (GH-20744)
Stefan Krah
webhook-mailer at python.org
Mon Jun 8 19:22:08 EDT 2020
https://github.com/python/cpython/commit/c0b79450bc9e93105799528151c48d25af8240a3
commit: c0b79450bc9e93105799528151c48d25af8240a3
branch: 3.7
author: Stefan Krah <skrah at bytereef.org>
committer: GitHub <noreply at github.com>
date: 2020-06-09T01:22:03+02:00
summary:
[3.7] Revert bpo-39576: Clarify the word size for the 32-bit build. (GH-20744)
This reverts commit 24c570bbb82a7cb70576c253a73390accfa7ed78.
files:
M Doc/library/decimal.rst
diff --git a/Doc/library/decimal.rst b/Doc/library/decimal.rst
index 3dda35fbd35db..f9421aba423ff 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:
More information about the Python-checkins
mailing list