]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-30155: Add macros to get tzinfo from datetime instances (GH-21633)
authorZackery Spytz <zspytz@gmail.com>
Wed, 23 Sep 2020 18:43:45 +0000 (12:43 -0600)
committerGitHub <noreply@github.com>
Wed, 23 Sep 2020 18:43:45 +0000 (14:43 -0400)
commit2e4dd336e5b50fd30947fdecb605ddcd71f7f6f5
tree7b8e1b98c94d77ffcdcfc61645c6b40f5ebd44ab
parent9c4eac7f02ddcf32fc1cdaf7c08c37fe9718c1fb
bpo-30155: Add macros to get tzinfo from datetime instances (GH-21633)

Add PyDateTime_DATE_GET_TZINFO() and PyDateTime_TIME_GET_TZINFO()
macros.
Doc/c-api/datetime.rst
Doc/whatsnew/3.10.rst
Include/datetime.h
Lib/test/datetimetester.py
Misc/NEWS.d/next/C API/2020-07-26-19-39-45.bpo-30155.rHZRJ_.rst [new file with mode: 0644]
Modules/_datetimemodule.c
Modules/_testcapimodule.c
Modules/_zoneinfo.c