mirror of
https://github.com/python/cpython.git
synced 2025-08-09 03:19:15 +00:00
[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 67a798888d
)
Co-authored-by: Dustin Rodrigues <dust.rod@gmail.com>
This commit is contained in:
parent
4787eaed06
commit
5293e01089
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue