Skip to content

Commit dc4b5ae

Browse files
committed
Converted new Timedelta attributes to private
1 parent 0d7e77c commit dc4b5ae

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pandas/_libs/tslibs/timedeltas.pyx

+6-6
Original file line numberDiff line numberDiff line change
@@ -1039,7 +1039,7 @@ cdef class _Timedelta(timedelta):
10391039
# higher than np.ndarray and np.matrix
10401040
__array_priority__ = 100
10411041

1042-
docstring_min = """
1042+
_docstring_min = """
10431043
Returns the minimum bound possible for Timedelta.
10441044
10451045
This property provides access to the smallest possible value that
@@ -1061,7 +1061,7 @@ cdef class _Timedelta(timedelta):
10611061
-106752 days +00:12:43.145224193
10621062
"""
10631063

1064-
docstring_max = """
1064+
_docstring_max = """
10651065
Returns the maximum bound possible for Timedelta.
10661066
10671067
This property provides access to the largest possible value that
@@ -1083,7 +1083,7 @@ cdef class _Timedelta(timedelta):
10831083
106751 days 23:47:16.854775807
10841084
"""
10851085

1086-
docstring_reso = """
1086+
_docstring_reso = """
10871087
Returns the smallest possible difference between non-equal Timedelta objects.
10881088
10891089
The resolution value is determined by the underlying representation of time
@@ -1104,9 +1104,9 @@ cdef class _Timedelta(timedelta):
11041104
0 days 00:00:00.000000001
11051105
"""
11061106

1107-
min = MinMaxReso("min", docstring_min)
1108-
max = MinMaxReso("max", docstring_max)
1109-
resolution = MinMaxReso("resolution", docstring_reso)
1107+
min = MinMaxReso("min", _docstring_min)
1108+
max = MinMaxReso("max", _docstring_max)
1109+
resolution = MinMaxReso("resolution", _docstring_reso)
11101110

11111111
@property
11121112
def value(self):

0 commit comments

Comments
 (0)