Skip to content

Commit 67a7988

Browse files
authored
closes gh-106479: fix typo in __cplusplus macro (gh-106480)
1 parent 5548097 commit 67a7988

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/_testcppext.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ test_api_casts(PyObject *Py_UNUSED(module), PyObject *Py_UNUSED(args))
8686
// gh-93442: Pass 0 as NULL for PyObject*
8787
Py_XINCREF(0);
8888
Py_XDECREF(0);
89-
#if _cplusplus >= 201103
89+
#if __cplusplus >= 201103
9090
// Test nullptr passed as PyObject*
9191
Py_XINCREF(nullptr);
9292
Py_XDECREF(nullptr);

0 commit comments

Comments
 (0)