Skip to content

Commit 5632c98

Browse files
Improve documentation for adding datetime and timedelta (gh-95403) (gh-95409)
(cherry picked from commit 6e44bf9) Co-authored-by: BenjaminHelyer <[email protected]> Co-authored-by: BenjaminHelyer <[email protected]>
1 parent b9b70dd commit 5632c98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/datetime.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -581,8 +581,8 @@ Supported operations:
581581
+-------------------------------+----------------------------------------------+
582582
| Operation | Result |
583583
+===============================+==============================================+
584-
| ``date2 = date1 + timedelta`` | *date2* is ``timedelta.days`` days removed |
585-
| | from *date1*. (1) |
584+
| ``date2 = date1 + timedelta`` | *date2* will be ``timedelta.days`` days |
585+
| | after *date1*. (1) |
586586
+-------------------------------+----------------------------------------------+
587587
| ``date2 = date1 - timedelta`` | Computes *date2* such that ``date2 + |
588588
| | timedelta == date1``. (2) |

0 commit comments

Comments
 (0)