mirror of
https://github.com/python/cpython.git
synced 2025-07-30 14:44:10 +00:00
gh-90359: Update documentation to follow PEP 495. (gh-94800)
This commit is contained in:
parent
8d7089f0a0
commit
07374cce52
1 changed files with 12 additions and 0 deletions
|
@ -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``).
|
||||
|
@ -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``).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue