We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcdd9b6 commit c7b3f0fCopy full SHA for c7b3f0f
Doc/library/datetime.rst
@@ -368,7 +368,7 @@ Example usage:
368
>>> nine_years = ten_years - year
369
>>> nine_years, nine_years.days // 365
370
(datetime.timedelta(3285), 9)
371
- >>> three_years = nine_years // 3;
+ >>> three_years = nine_years // 3
372
>>> three_years, three_years.days // 365
373
(datetime.timedelta(1095), 3)
374
>>> abs(three_years - ten_years) == 2 * three_years + year
0 commit comments