Skip to content

Commit de6aefe

Browse files
committed
clean: remove outdated perioddtype comment
1 parent f1b00b8 commit de6aefe

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pandas/_libs/tslibs/period.pyx

-3
Original file line numberDiff line numberDiff line change
@@ -1752,9 +1752,6 @@ cdef class _Period(PeriodMixin):
17521752
def __cinit__(self, int64_t ordinal, BaseOffset freq):
17531753
self.ordinal = ordinal
17541754
self.freq = freq
1755-
# Note: this is more performant than PeriodDtype.from_date_offset(freq)
1756-
# because from_date_offset cannot be made a cdef method (until cython
1757-
# supported cdef classmethods)
17581755
self._dtype = PeriodDtypeBase(freq._period_dtype_code, freq.n)
17591756

17601757
@classmethod

0 commit comments

Comments
 (0)