Skip to content

Commit 0cb108e

Browse files
committed
add comment about why 2 classes
1 parent 44f94d1 commit 0cb108e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pandas/_libs/tslibs/offsets.pyx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2737,6 +2737,8 @@ cdef class BYearBegin(YearOffset):
27372737
_prefix = "BYS"
27382738
_day_opt = "business_start"
27392739

2740+
# The pair of classes `_YearEnd` and `YearEnd` exist because of
2741+
# https://github.com/cython/cython/issues/3873
27402742

27412743
cdef class _YearEnd(YearOffset):
27422744
_default_month = 12

0 commit comments

Comments
 (0)