]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-91321: Fix PyModuleDef_HEAD_INIT on C++ (#92259)
authorVictor Stinner <vstinner@python.org>
Tue, 3 May 2022 20:40:20 +0000 (22:40 +0200)
committerGitHub <noreply@github.com>
Tue, 3 May 2022 20:40:20 +0000 (22:40 +0200)
commit3a35b62ea003182c643516098cc781944d425800
treed6d5564c73f17baaa08069c4273b0769934b75ae
parentd9ec55319422cf2ba8495b2b7859749d3d742291
gh-91321: Fix PyModuleDef_HEAD_INIT on C++ (#92259)

The PyModuleDef_HEAD_INIT macro now uses _Py_NULL to fix C++ compiler
warnings when using it in C++.
Include/moduleobject.h