summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/datetime.rst
Commit message (Collapse)AuthorAgeFilesLines
* [3.9] gh-90359: Update documentation to follow PEP 495. (gh-94800). (gh-94835)Dong-hee Na2022-07-281-0/+14
| | | | | (cherry picked from commit 07374cce52abb7fd39729dc1b646ca3029b64c64) Co-authored-by: Dong-hee Na <donghee.na@python.org>
* bpo-42528: Improve the docs of most Py*_Check{,Exact} API calls (GH-23602) ↵Miss Islington (bot)2021-01-061-10/+15
| | | | | | | | | | | | (GH-24139) 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. (cherry picked from commit 315fc52db17b19fe30aa9193f26adf69e18d8844) Co-authored-by: Antonio Cuni <anto.cuni@gmail.com> Co-authored-by: Antonio Cuni <anto.cuni@gmail.com>
* 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