Skip to content

Commit 4d0ce2a

Browse files
committed
explicityly setting the _doc_ attribute
1 parent 0749625 commit 4d0ce2a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/_libs/tslibs/timedeltas.pyx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1958,13 +1958,13 @@ class Timedelta(_Timedelta):
19581958
"milliseconds", "microseconds", "nanoseconds"}
19591959

19601960
min = MinMaxReso("min")
1961-
# Timedelta: The smallest representable duration.
1961+
min.__doc__ = "Timedelta: The minimum representable value."
19621962

19631963
max = MinMaxReso("max")
1964-
# Timedelta: The largest representable duration.
1964+
max.__doc__ = "Timedelta: The maximum representable value."
19651965

19661966
resolution = MinMaxReso("resolution")
1967-
# Timedelta: The smallest increment between distinct durations.
1967+
resolution.__doc__ = "Timedelta: The smallest representable increment."
19681968

19691969
def __new__(cls, object value=_no_input, unit=None, **kwargs):
19701970
if value is _no_input:

0 commit comments

Comments
 (0)