All datetime objects are of PyDateTime_DateTimeType, but that can be
allocated in two ways too, just like for time objects above. In addition,
the plain date type is a base class for datetime, so it must also have
a hastzinfo member (although it's unused there).
All datetime objects are of PyDateTime_DateTimeType, but that can be allocated in two ways too, just like for time objects above. In addition, the plain date type is a base class for datetime, so it must also have a hastzinfo member (although it's unused there).