Skip to content
Snippets Groups Projects
Unverified Commit 7b877651 authored by Dong-hee Na's avatar Dong-hee Na Committed by GitHub
Browse files

[3.9] gh-90359: Update documentation to follow PEP 495. (gh-94800). (gh-94835)


(cherry picked from commit 07374cce)

Co-authored-by: default avatarDong-hee Na <donghee.na@python.org>
parent 017080f0
Branches
Tags
No related merge requests found
......@@ -191,6 +191,13 @@ 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
Macros to extract fields from time objects. The argument must be an instance of
:c:data:`PyDateTime_Time`, including subclasses. The argument must not be ``NULL``,
and the type is not checked:
......@@ -215,6 +222,13 @@ 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
Macros to extract fields from time delta objects. The argument must be an
instance of :c:data:`PyDateTime_Delta`, including subclasses. The argument must
not be ``NULL``, and the type is not checked:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment