Commit b177f229 authored by Stefan Behnel's avatar Stefan Behnel

Uncomment timedelta macros in datetime.pxd, because why not have them?

parent 98baa2fa
...@@ -47,6 +47,8 @@ Bugs fixed ...@@ -47,6 +47,8 @@ Bugs fixed
was not declared as ``extern "C"``. was not declared as ``extern "C"``.
(Github issue #3414) (Github issue #3414)
* Three missing timedelta access macros were added in ``cpython.datetime``.
0.29.17 (2020-04-26) 0.29.17 (2020-04-26)
==================== ====================
......
...@@ -90,9 +90,9 @@ cdef extern from "datetime.h": ...@@ -90,9 +90,9 @@ cdef extern from "datetime.h":
int PyDateTime_TIME_GET_MICROSECOND(object o) int PyDateTime_TIME_GET_MICROSECOND(object o)
# Getters for timedelta (C macros). # Getters for timedelta (C macros).
#int PyDateTime_DELTA_GET_DAYS(object o) int PyDateTime_DELTA_GET_DAYS(object o)
#int PyDateTime_DELTA_GET_SECONDS(object o) int PyDateTime_DELTA_GET_SECONDS(object o)
#int PyDateTime_DELTA_GET_MICROSECONDS(object o) int PyDateTime_DELTA_GET_MICROSECONDS(object o)
# PyDateTime CAPI object. # PyDateTime CAPI object.
PyDateTime_CAPI *PyDateTimeAPI PyDateTime_CAPI *PyDateTimeAPI
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment