Skip to content

Commit 0379683

Browse files
committed
gh-140550: Fix PyABIInfo_VAR macro: avoid ";"
Remove ";" from PyABIInfo_VAR macro definition, since "PyABIInfo_VAR(abi_info);" added two ";;" which is illegal in C++03.
1 parent 17bbb3b commit 0379683

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Include/modsupport.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ PyAPI_FUNC(int) PyABIInfo_Check(PyABIInfo *info, const char *module_name);
140140
/////////////////////////////////////////////////////////
141141

142142
#define PyABIInfo_VAR(NAME) \
143-
static PyABIInfo NAME = _PyABIInfo_DEFAULT;
143+
static PyABIInfo NAME = _PyABIInfo_DEFAULT
144144

145145
#undef _PyABIInfo_DEFAULT_STABLE
146146
#undef _PyABIInfo_DEFAULT_FT

0 commit comments

Comments
 (0)