]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Improve documentation for adding datetime and timedelta (gh-95403) (gh-95408)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 29 Jul 2022 00:14:05 +0000 (17:14 -0700)
committerGitHub <noreply@github.com>
Fri, 29 Jul 2022 00:14:05 +0000 (20:14 -0400)
(cherry picked from commit 6e44bf9558dbcaffd78b7c4fc7f6b474388b4a9a)

Co-authored-by: BenjaminHelyer <91896754+BenjaminHelyer@users.noreply.github.com>
Co-authored-by: BenjaminHelyer <91896754+BenjaminHelyer@users.noreply.github.com>
Doc/library/datetime.rst

index ef1535c84bd5adb279e392706d17daef71a104a9..b4580d1879c0187e136761539e90a0a5ad97f702 100644 (file)
@@ -589,8 +589,8 @@ Supported operations:
 +-------------------------------+----------------------------------------------+
 | Operation                     | Result                                       |
 +===============================+==============================================+
-| ``date2 = date1 + timedelta`` | *date2* is ``timedelta.days`` days removed   |
-|                               | from *date1*. (1)                            |
+| ``date2 = date1 + timedelta`` | *date2* will be ``timedelta.days`` days      |
+|                               | after *date1*. (1)                           |
 +-------------------------------+----------------------------------------------+
 | ``date2 = date1 - timedelta`` | Computes *date2* such that ``date2 +         |
 |                               | timedelta == date1``. (2)                    |