summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordelirious-lettuce <delirious.lettuce@gmail.com>2017-05-19 01:01:00 (GMT)
committerMariatta <Mariatta@users.noreply.github.com>2017-05-19 01:01:00 (GMT)
commitc7b3f0fc3b9213d37a3514a6a1ca6d4c881a6961 (patch)
tree355d58aa909ca7a53329639e5b89217e1da5d33e
parentfcdd9b6b7e73427ce5aa63cf095312f603c4edce (diff)
downloadcpython-c7b3f0fc3b9213d37a3514a6a1ca6d4c881a6961.zip
cpython-c7b3f0fc3b9213d37a3514a6a1ca6d4c881a6961.tar.gz
cpython-c7b3f0fc3b9213d37a3514a6a1ca6d4c881a6961.tar.bz2
Remove trailing semicolon in datetime doc example (GH-1653)
-rw-r--r--Doc/library/datetime.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/datetime.rst b/Doc/library/datetime.rst
index 700a19d..871ae51 100644
--- a/Doc/library/datetime.rst
+++ b/Doc/library/datetime.rst
@@ -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