]> granicus.if.org Git - python/commitdiff
Remove trailing semicolon in datetime doc example (GH-1653)
authordelirious-lettuce <delirious.lettuce@gmail.com>
Fri, 19 May 2017 01:01:00 +0000 (19:01 -0600)
committerMariatta <Mariatta@users.noreply.github.com>
Fri, 19 May 2017 01:01:00 +0000 (18:01 -0700)
Doc/library/datetime.rst

index 700a19d8e7492497df3fe7a73bb4e9b84329ecc2..871ae51cd77bf061cc559da1541a1037b7da5fa4 100644 (file)
@@ -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