File tree 2 files changed +12
-12
lines changed
2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ def f(self):
82
82
return result
83
83
84
84
f .__name__ = name
85
- f .__doc__ = docstring
85
+ f .__doc__ = " \n {} \n " . format ( docstring )
86
86
return property (f )
87
87
88
88
@@ -1138,12 +1138,12 @@ def date(self):
1138
1138
"The name of day in a week (ex: Friday)\n \n .. deprecated:: 0.23.0" )
1139
1139
1140
1140
dayofyear = _field_accessor ('dayofyear' , 'doy' ,
1141
- "\n The ordinal day of the year\n " )
1142
- quarter = _field_accessor ('quarter' , 'q' , "\n The quarter of the date\n " )
1141
+ "The ordinal day of the year. " )
1142
+ quarter = _field_accessor ('quarter' , 'q' , "The quarter of the date. " )
1143
1143
days_in_month = _field_accessor (
1144
1144
'days_in_month' ,
1145
1145
'dim' ,
1146
- "\n The number of days in the month\n " )
1146
+ "The number of days in the month. " )
1147
1147
daysinmonth = days_in_month
1148
1148
_is_month_doc = """
1149
1149
Indicates whether the date is the {first_or_last} day of the month.
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ def f(self):
60
60
return result
61
61
62
62
f .__name__ = name
63
- f .__doc__ = docstring
63
+ f .__doc__ = " \n {} \n " . format ( docstring )
64
64
return property (f )
65
65
66
66
@@ -692,16 +692,16 @@ def to_pytimedelta(self):
692
692
return tslibs .ints_to_pytimedelta (self .asi8 )
693
693
694
694
days = _field_accessor ("days" , "days" ,
695
- "\n Number of days for each element.\n " )
695
+ "Number of days for each element." )
696
696
seconds = _field_accessor ("seconds" , "seconds" ,
697
- "\n Number of seconds (>= 0 and less than 1 day) "
698
- "for each element.\n " )
697
+ "Number of seconds (>= 0 and less than 1 day) "
698
+ "for each element." )
699
699
microseconds = _field_accessor ("microseconds" , "microseconds" ,
700
- "\n Number of microseconds (>= 0 and less "
701
- "than 1 second) for each element.\n " )
700
+ "Number of microseconds (>= 0 and less "
701
+ "than 1 second) for each element." )
702
702
nanoseconds = _field_accessor ("nanoseconds" , "nanoseconds" ,
703
- "\n Number of nanoseconds (>= 0 and less "
704
- "than 1 microsecond) for each element.\n " )
703
+ "Number of nanoseconds (>= 0 and less "
704
+ "than 1 microsecond) for each element." )
705
705
706
706
@property
707
707
def components (self ):
You can’t perform that action at this time.
0 commit comments