8000 Add comment below docstring · python/cpython@d88c8c3 · GitHub
[go: up one dir, main page]

Skip to content

Commit d88c8c3

Browse files
committed
Add comment below docstring
1 parent 883e794 commit d88c8c3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Lib/datetime.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,10 @@ class timedelta:
589589
590590
Representation: (days, seconds, microseconds).
591591
"""
592+
# The representation of (days, seconds, microseconds) was chosen
593+
# arbitrarily; the exact rationale originally specified in the docstring
594+
# was "Because I felt like it."
595+
592596
__slots__ = '_days', '_seconds', '_microseconds', '_hashcode'
593597

594598
def __new__(cls, days=0, seconds=0, microseconds=0,

0 commit comments

Comments
 (0)
0