summaryrefslogtreecommitdiffstats
path: root/Doc/library/datetime.rst
diff options
context:
space:
mode:
authorUtkarsh Upadhyay <mail@musicallyut.in>2017-07-28 12:42:56 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2017-07-28 12:42:56 (GMT)
commit8e45318b0d8df9340ac41b1d0447ffc83c7f5102 (patch)
tree8ff38a4bd1d435e2ed0c30e2e1e5a377488edf64 /Doc/library/datetime.rst
parentba9ddb7eea39a651ba7f1ab3eb012e4129c03620 (diff)
downloadcpython-8e45318b0d8df9340ac41b1d0447ffc83c7f5102.zip
cpython-8e45318b0d8df9340ac41b1d0447ffc83c7f5102.tar.gz
cpython-8e45318b0d8df9340ac41b1d0447ffc83c7f5102.tar.bz2
bpo-30302: Update WhatsNew and documentation. (#2929)
* Update 'Porting to .37' section. * Fix a minor example in the doc.
Diffstat (limited to 'Doc/library/datetime.rst')
-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 625e159..3880c2e 100644
--- a/Doc/library/datetime.rst
+++ b/Doc/library/datetime.rst
@@ -313,7 +313,7 @@ Notes:
unusual results for negative timedeltas. For example:
>>> timedelta(hours=-5)
- datetime.timedelta(-1, 68400)
+ datetime.timedelta(days=-1, seconds=68400)
>>> print(_)
-1 day, 19:00:00