mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Remove trailing semicolon in datetime doc example (GH-1653)
This commit is contained in:
parent
fcdd9b6b7e
commit
c7b3f0fc3b
1 changed files with 1 additions and 1 deletions
|
|
@ -368,7 +368,7 @@ Example usage:
|
|||
>>> nine_years = ten_years - year
|
||||
>>> nine_years, nine_years.days // 365
|
||||
(datetime.timedelta(3285), 9)
|
||||
>>> three_years = nine_years // 3;
|
||||
>>> three_years = nine_years // 3
|
||||
>>> three_years, three_years.days // 365
|
||||
(datetime.timedelta(1095), 3)
|
||||
>>> abs(three_years - ten_years) == 2 * three_years + year
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue