]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Improve documentation for adding datetime and timedelta (gh-95403)
authorBenjaminHelyer <91896754+BenjaminHelyer@users.noreply.github.com>
Fri, 29 Jul 2022 00:09:51 +0000 (19:09 -0500)
committerGitHub <noreply@github.com>
Fri, 29 Jul 2022 00:09:51 +0000 (20:09 -0400)
Doc/library/datetime.rst

index 710f83c72e28533cdc13eae059c52cd70223c744..0f042374b6472d85f9575696fa82d1a54f504dc8 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)                    |