We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0ef08f commit 2bb7846Copy full SHA for 2bb7846
Doc/c-api/init.rst
@@ -2470,7 +2470,7 @@ code triggered by the finalizer blocks and calls :c:func:`PyEval_SaveThread`.
2470
2471
{
2472
PyCriticalSection2 _py_cs2;
2473
- PyCriticalSection_Begin2(&_py_cs2, (PyObject*)(a), (PyObject*)(b))
+ PyCriticalSection2_Begin(&_py_cs2, (PyObject*)(a), (PyObject*)(b))
2474
2475
In the default build, this macro expands to ``{``.
2476
@@ -2482,7 +2482,7 @@ code triggered by the finalizer blocks and calls :c:func:`PyEval_SaveThread`.
2482
2483
In the free-threaded build, this macro expands to::
2484
2485
- PyCriticalSection_End2(&_py_cs2);
+ PyCriticalSection2_End(&_py_cs2);
2486
}
2487
2488
In the default build, this macro expands to ``}``.
0 commit comments