We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f100451 commit 4f5f428Copy full SHA for 4f5f428
Include/datetime.h
@@ -160,6 +160,8 @@ typedef struct
160
#define PyDateTime_DELTA_GET_SECONDS(o) (((PyDateTime_Delta*)(o))->seconds)
161
#define PyDateTime_DELTA_GET_MICROSECONDS(o) \
162
(((PyDateTime_Delta*)(o))->microseconds)
163
+#define PyDateTime_DELTA_GET_NANOSECONDS(o) \
164
+ (((PyDateTime_Delta*)(o))->nanoseconds)
165
166
167
/* Define structure for C API. */
0 commit comments