Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions Doc/c-api/datetime.rst
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,12 @@ must not be ``NULL``, and the type is not checked:

Return the microsecond, as an int from 0 through 999999.

.. c:function:: int PyDateTime_DATE_GET_FOLD(PyDateTime_DateTime *o)

Return the fold, as an int from 0 through 1.

.. versionadded:: 3.6

.. c:function:: PyObject* PyDateTime_DATE_GET_TZINFO(PyDateTime_DateTime *o)

Return the tzinfo (which may be ``None``).
Expand Down Expand Up @@ -219,6 +225,12 @@ and the type is not checked:

Return the microsecond, as an int from 0 through 999999.

.. c:function:: int PyDateTime_TIME_GET_FOLD(PyDateTime_Time *o)

Return the fold, as an int from 0 through 1.

.. versionadded:: 3.6

.. c:function:: PyObject* PyDateTime_TIME_GET_TZINFO(PyDateTime_Time *o)

Return the tzinfo (which may be ``None``).
Expand Down