summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2020-06-08 23:20:58 (GMT)
committerGitHub <noreply@github.com>2020-06-08 23:20:58 (GMT)
commit706de4e5a4b21880c67f6b90e3a2147a258d6fc5 (patch)
tree6432def559e53d5e247875376054b23b8669c9fa /Doc/library
parent14073c509058f8efeb5ea7f7693bf84f410d24b7 (diff)
downloadcpython-706de4e5a4b21880c67f6b90e3a2147a258d6fc5.zip
cpython-706de4e5a4b21880c67f6b90e3a2147a258d6fc5.tar.gz
cpython-706de4e5a4b21880c67f6b90e3a2147a258d6fc5.tar.bz2
[3.8] Revert bpo-39576: Clarify the word size for the 32-bit build. (GH-20743)
This reverts commit c6ecd9c14081a787959e13df33e250102a658154.
Diffstat (limited to 'Doc/library')
-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 3dda35f..f9421ab 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: