Skip to content

Commit 07374cc

Browse files
authored
gh-90359: Update documentation to follow PEP 495. (gh-94800)
1 parent 8d7089f commit 07374cc

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Doc/c-api/datetime.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,12 @@ must not be ``NULL``, and the type is not checked:
190190
191191
Return the microsecond, as an int from 0 through 999999.
192192
193+
.. c:function:: int PyDateTime_DATE_GET_FOLD(PyDateTime_DateTime *o)
194+
195+
Return the fold, as an int from 0 through 1.
196+
197+
.. versionadded:: 3.6
198+
193199
.. c:function:: PyObject* PyDateTime_DATE_GET_TZINFO(PyDateTime_DateTime *o)
194200
195201
Return the tzinfo (which may be ``None``).
@@ -219,6 +225,12 @@ and the type is not checked:
219225
220226
Return the microsecond, as an int from 0 through 999999.
221227
228+
.. c:function:: int PyDateTime_TIME_GET_FOLD(PyDateTime_Time *o)
229+
230+
Return the fold, as an int from 0 through 1.
231+
232+
.. versionadded:: 3.6
233+
222234
.. c:function:: PyObject* PyDateTime_TIME_GET_TZINFO(PyDateTime_Time *o)
223235
224236
Return the tzinfo (which may be ``None``).

0 commit comments

Comments
 (0)