diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-07-06 23:30:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-06 23:30:32 (GMT) |
commit | 5293e0108986eadb7e1f5c51e126673f4196ca79 (patch) | |
tree | cfad2e9de3e413deaebf582e962d1cac3e20aebb /Lib/test | |
parent | 4787eaed06cf83ed53270c61ac915dc0b15b20e8 (diff) | |
download | cpython-5293e0108986eadb7e1f5c51e126673f4196ca79.zip cpython-5293e0108986eadb7e1f5c51e126673f4196ca79.tar.gz cpython-5293e0108986eadb7e1f5c51e126673f4196ca79.tar.bz2 |
[3.12] closes gh-106479: fix typo in __cplusplus macro (gh-106480) (#106493)
closes gh-106479: fix typo in __cplusplus macro (gh-106480)
(cherry picked from commit 67a798888dcde13bbb1e17cfcc3c742c94e67a07)
Co-authored-by: Dustin Rodrigues <dust.rod@gmail.com>
Diffstat (limited to 'Lib/test')
-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); |