summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/datetime.rst
Commit message (Collapse)AuthorAgeFilesLines
* gh-123517: Remove unnecessary ``:meth:`` parentheses (#123518)Wei-Hsiang (Matt) Wang2024-09-011-2/+2
|
* gh-107298: Fix C API datetime documentation (GH-108034)Serhiy Storchaka2023-08-211-14/+57
|
* gh-90359: Unify documentation style for datetime.rst (gh-94836)Dong-hee Na2022-07-141-0/+7
|
* gh-90359: Update documentation to follow PEP 495. (gh-94800)Dong-hee Na2022-07-141-0/+12
|
* bpo-42528: Improve the docs of most Py*_Check{,Exact} API calls (GH-23602)Antonio Cuni2021-01-061-10/+15
| | | | | I think that none of these API calls can fail, but only few of them are documented as such. Add the sentence "This function always succeeds" (which is the same already used e.g. by PyNumber_Check) to all of them.
* bpo-30155: Add macros to get tzinfo from datetime instances (GH-21633)Zackery Spytz2020-09-231-0/+11
| | | | Add PyDateTime_DATE_GET_TZINFO() and PyDateTime_TIME_GET_TZINFO() macros.
* bpo-38600: Change the mark up of NULL in the C API documentation. (GH-16950)Serhiy Storchaka2019-10-301-14/+14
| | | | Replace all *NULL* with ``NULL``.
* Doc: Replace the deprecated highlightlang directive by highlight. (#13377)Stéphane Wirtel2019-05-171-1/+1
| | | | highlightlang is deprecated since April 2018 in Sphinx. See https://github.com/sphinx-doc/sphinx/pull/4845
* bpo-36783: Add new references for C API Documentation changes (GH-13204)Edison A2019-05-131-6/+6
|
* bpo-36783: Added C API Documentation for Time_FromTimeAndFold and ↵Edison A2019-05-071-0/+16
| | | | | | PyDateTime_FromDateAndTimeAndFold (GH-13147)
* bpo-10381: Add timezone to datetime C API (#5032)Paul Ganssle2018-01-241-11/+35
| | | | | | | | | | | | | | | | | | * Add timezone to datetime C API * Add documentation for timezone C API macros * Add dedicated tests for datetime type check macros * Remove superfluous C API test * Drop support for TimeZoneType in datetime C API * Expose UTC singleton to the datetime C API * Update datetime C-API documentation to include links * Add reference count information for timezone constructors
* bpo-31678: Fix typo in PyDateTime_DELTA_GET_MICROSECONDS (GH-3869)Phobosmir2017-11-041-1/+1
|
* Issue #13727: Add 3 macros to access PyDateTime_Delta members:Amaury Forgeot d'Arc2012-01-171-0/+25
| | | | | | | PyDateTime_DELTA_GET_DAYS, PyDateTime_DELTA_GET_SECONDS, PyDateTime_DELTA_GET_MICROSECONDS. Please use them instead of directly accessing PyDateTime_Delta struct members.
* Migrate to Sphinx 1.0 C language constructs.Georg Brandl2010-10-061-48/+48
|
* Merged revisions 82251 via svnmerge fromAlexander Belopolsky2010-06-261-1/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82251 | alexander.belopolsky | 2010-06-26 14:49:10 -0400 (Sat, 26 Jun 2010) | 1 line Issue 9024: Added :cdata: tag to PyDateTimeAPI ........
* Merged revisions 82236 via svnmerge fromAlexander Belopolsky2010-06-261-3/+3
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82236 | alexander.belopolsky | 2010-06-25 22:05:19 -0400 (Fri, 25 Jun 2010) | 4 lines Issue #9024: Fixed mark-up for PyDateTime_IMPORT macro and added that it is typically used in module initialization function. Thanks Tim Golden for the patch. ........
* Split C API docs in Py3k branch.Georg Brandl2008-01-201-0/+183