diff options
author | Dustin Rodrigues <dust.rod@gmail.com> | 2023-07-06 22:34:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-06 22:34:00 (GMT) |
commit | 67a798888dcde13bbb1e17cfcc3c742c94e67a07 (patch) | |
tree | c42a2bef2d92169eea0c0f3496d3568607300ed9 /Lib/test/_testcppext.cpp | |
parent | 5548097925b9924ebf761376d632c5198d01ebd5 (diff) | |
download | cpython-67a798888dcde13bbb1e17cfcc3c742c94e67a07.zip cpython-67a798888dcde13bbb1e17cfcc3c742c94e67a07.tar.gz cpython-67a798888dcde13bbb1e17cfcc3c742c94e67a07.tar.bz2 |
closes gh-106479: fix typo in __cplusplus macro (gh-106480)
Diffstat (limited to 'Lib/test/_testcppext.cpp')
-rw-r--r-- | Lib/test/_testcppext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/_testcppext.cpp b/Lib/test/_testcppext.cpp index 0e381a7..82b4713 100644 --- a/Lib/test/_testcppext.cpp +++ b/Lib/test/_testcppext.cpp @@ -86,7 +86,7 @@ test_api_casts(PyObject *Py_UNUSED(module), PyObject *Py_UNUSED(args)) // gh-93442: Pass 0 as NULL for PyObject* Py_XINCREF(0); Py_XDECREF(0); -#if _cplusplus >= 201103 +#if __cplusplus >= 201103 // Test nullptr passed as PyObject* Py_XINCREF(nullptr); Py_XDECREF(nullptr); |