]> granicus.if.org Git - python/commit
bpo-35337: Fix gettmarg(): use PyStructSequence_GET_ITEM() (GH-10765)
authorVictor Stinner <vstinner@redhat.com>
Wed, 28 Nov 2018 14:19:51 +0000 (15:19 +0100)
committerGitHub <noreply@github.com>
Wed, 28 Nov 2018 14:19:51 +0000 (15:19 +0100)
commit1cdfcfc9843d35ab2cb87387d3a79b2c8a585a38
tree4bc724712a4062a0430b12ed186832df4544072a
parent54ba556c6c7d8fd5504dc142c2e773890c55a774
bpo-35337: Fix gettmarg(): use PyStructSequence_GET_ITEM() (GH-10765)

PyStructSequence_GET_ITEM() must be used instead of
PyTuple_GET_ITEM() on a StructTimeType.
Modules/timemodule.c