Skip to content

Commit 3e9a496

Browse files
Improve documentation for adding datetime and timedelta (gh-95403) (gh-95408)
(cherry picked from commit 6e44bf9) Co-authored-by: BenjaminHelyer <[email protected]> Co-authored-by: BenjaminHelyer <[email protected]>
1 parent 309c8f3 commit 3e9a496

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/datetime.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -589,8 +589,8 @@ Supported operations:
589589
+-------------------------------+----------------------------------------------+
590590
| Operation | Result |
591591
+===============================+==============================================+
592-
| ``date2 = date1 + timedelta`` | *date2* is ``timedelta.days`` days removed |
593-
| | from *date1*. (1) |
592+
| ``date2 = date1 + timedelta`` | *date2* will be ``timedelta.days`` days |
593+
| | after *date1*. (1) |
594594
+-------------------------------+----------------------------------------------+
595595
| ``date2 = date1 - timedelta`` | Computes *date2* such that ``date2 + |
596596
| | timedelta == date1``. (2) |

0 commit comments

Comments
 (0)