]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40170: Use inline _PyType_HasFeature() function (GH-22375)
authorVictor Stinner <vstinner@python.org>
Wed, 23 Sep 2020 12:08:38 +0000 (14:08 +0200)
committerGitHub <noreply@github.com>
Wed, 23 Sep 2020 12:08:38 +0000 (14:08 +0200)
commit97d15ae1d8411b49b1fcdc0c67c51849dccce9c9
tree9418f79ebdc807c61273226dfc8b701a152bdb26
parentb7d8d8dbfe83040087a63662e0b908f4b5ac24b0
bpo-40170: Use inline _PyType_HasFeature() function (GH-22375)

Use _PyType_HasFeature() in the _io module and in structseq
implementation. Replace PyType_HasFeature() opaque function call with
_PyType_HasFeature() inlined function.
Modules/_io/iobase.c
Objects/structseq.c