mirror of
https://github.com/python/cpython.git
synced 2025-07-18 16:55:20 +00:00
closes gh-106479: fix typo in __cplusplus macro (gh-106480)
This commit is contained in:
parent
5548097925
commit
67a798888d
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