File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,6 @@ from pandas._libs.tslibs.np_datetime cimport (
77
77
pandas_datetime_to_datetimestruct,
78
78
pydate_to_dtstruct,
79
79
)
80
- from pandas.util._decorators import set_module
81
80
82
81
import_pandas_datetime()
83
82
@@ -2706,7 +2705,6 @@ cdef class _YearEnd(YearOffset):
2706
2705
self ._period_dtype_code = PeriodDtypeCode.A + self .month % 12
2707
2706
2708
2707
2709
- @ set_module (" pandas.tseries.offsets" )
2710
2708
class YearEnd (_YearEnd ):
2711
2709
"""
2712
2710
DateOffset increments between calendar year end dates.
@@ -2747,9 +2745,8 @@ class YearEnd(_YearEnd):
2747
2745
Timestamp('2022-12-31 00:00:00')
2748
2746
"""
2749
2747
2750
- def __new__ (cls , fuck = None , normalize = False , month = None ):
2751
- # this is a comment
2752
- return _YearEnd.__new__ (cls , fuck, normalize, month)
2748
+ def __new__ (cls , n = 1 , normalize = False , month = None ):
2749
+ return _YearEnd.__new__ (cls , n, normalize, month)
2753
2750
2754
2751
2755
2752
cdef class YearBegin(YearOffset):
You can’t perform that action at this time.
0 commit comments