]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-142225: Fix `PyABIInfo_VAR` macro (GH-142230)
authorStan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Thu, 4 Dec 2025 09:33:15 +0000 (09:33 +0000)
committerGitHub <noreply@github.com>
Thu, 4 Dec 2025 09:33:15 +0000 (10:33 +0100)
Include/modsupport.h
Misc/NEWS.d/next/C_API/2025-12-03-16-35-24.gh-issue-142225.vmCJoo.rst [new file with mode: 0644]

index 094b9ff0e5ccf808bac3e01842ce913f208ad673..cb47ad8cd2727fd437f9654e761a06cea9442087 100644 (file)
@@ -132,7 +132,7 @@ PyAPI_FUNC(int) PyABIInfo_Check(PyABIInfo *info, const char *module_name);
     )                                                       \
     /////////////////////////////////////////////////////////
 
-#define _PyABIInfo_DEFAULT() {                              \
+#define _PyABIInfo_DEFAULT {                                \
         1, 0,                                               \
         PyABIInfo_DEFAULT_FLAGS,                            \
         PY_VERSION_HEX,                                     \
diff --git a/Misc/NEWS.d/next/C_API/2025-12-03-16-35-24.gh-issue-142225.vmCJoo.rst b/Misc/NEWS.d/next/C_API/2025-12-03-16-35-24.gh-issue-142225.vmCJoo.rst
new file mode 100644 (file)
index 0000000..1eaf5b7
--- /dev/null
@@ -0,0 +1 @@
+Fixed the :c:macro:`PyABIInfo_VAR` macro.