Skip to content

Commit ea3e499

Browse files
Update Lib/_pydecimal.py
Co-authored-by: Mikhail Efimov <efimov.mikhail@gmail.com>
1 parent 49d5b0d commit ea3e499

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Lib/_pydecimal.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ def _is_less_than_pow10a_use_str(q, a):
489489
# when computing _LOG_10_BASE_2_LO and _LOG_10_BASE_2_HI, or
490490
# that cannot be distinguished with (q.bit_length(), a) only.
491491
#
492-
# For instance, (q1, a) = (95, 2) and (q2, a) = (105, a) produce
492+
# For instance, (q1, a) = (95, 2) and (q2, a) = (105, 2) produce
493493
# different results but q1.bit_length() == q2.bit_length() == 7.
494494
str_q = str(q) # can raise a ValueError
495495
is_valid = len(str_q) <= a

0 commit comments

Comments
 (0)