Skip to content

Commit 5704c81

Browse files
Apply suggestion from @StanFromIreland
1 parent 455c1b0 commit 5704c81

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Lib/_pydatetime.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ def __new__(cls, days=0, seconds=0, microseconds=0,
699699
us += int(whole)
700700
leftover += frac
701701
else:
702-
us += int(value) * factor
702+
us += int(value * factor)
703703
if leftover:
704704
n, m = leftover.as_integer_ratio()
705705
us = _divide_and_round(us * m + n, m)

0 commit comments

Comments
 (0)