Skip to content

Commit 24c570b

Browse files
bpo-39576: Clarify the word size for the 32-bit build. (GH-18616) (#18617)
(cherry picked from commit b76518d) Authored-by: Stefan Krah <[email protected]>
1 parent 36a120d commit 24c570b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/decimal.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2155,8 +2155,8 @@ RAM and expect 10 simultaneous operands using a maximum of 500MB each::
21552155

21562156
>>> import sys
21572157
>>>
2158-
>>> # Maximum number of digits for a single operand using 500MB in 8 byte words
2159-
>>> # with 19 (9 for the 32-bit version) digits per word:
2158+
>>> # Maximum number of digits for a single operand using 500MB in 8-byte words
2159+
>>> # with 19 digits per word (4-byte and 9 digits for the 32-bit build):
21602160
>>> maxdigits = 19 * ((500 * 1024**2) // 8)
21612161
>>>
21622162
>>> # Check that this works:

0 commit comments

Comments
 (0)