Trivial Change: Remove unhelpful doc in datetime.timedelta (#100164)

This commit is contained in:
Matty G 2023-02-05 18:55:37 -08:00 committed by GitHub
parent ffcb8220d7
commit d3e2dd6e71
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -587,9 +587,12 @@ class timedelta:
returning a timedelta, and addition or subtraction of a datetime
and a timedelta giving a datetime.
Representation: (days, seconds, microseconds). Why? Because I
felt like it.
Representation: (days, seconds, microseconds).
"""
# The representation of (days, seconds, microseconds) was chosen
# arbitrarily; the exact rationale originally specified in the docstring
# was "Because I felt like it."
__slots__ = '_days', '_seconds', '_microseconds', '_hashcode'
def __new__(cls, days=0, seconds=0, microseconds=0,