base.pyx 293 B

123456789101112
  1. """
  2. We define base classes that will be inherited by Timestamp, Timedelta, etc
  3. in order to allow for fast isinstance checks without circular dependency issues.
  4. This is analogous to core.dtypes.generic.
  5. """
  6. from cpython.datetime cimport datetime
  7. cdef class ABCTimestamp(datetime):
  8. pass