Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24b8630 commit cb270e9Copy full SHA for cb270e9
Doc/c-api/init.rst
@@ -2420,7 +2420,7 @@ code triggered by the finalizer blocks and calls :c:func:`PyEval_SaveThread`.
2420
2421
{
2422
PyCriticalSection2 _py_cs2;
2423
- PyCriticalSection_Begin2(&_py_cs2, (PyObject*)(a), (PyObject*)(b))
+ PyCriticalSection2_Begin(&_py_cs2, (PyObject*)(a), (PyObject*)(b))
2424
2425
In the default build, this macro expands to ``{``.
2426
@@ -2432,7 +2432,7 @@ code triggered by the finalizer blocks and calls :c:func:`PyEval_SaveThread`.
2432
2433
In the free-threaded build, this macro expands to::
2434
2435
- PyCriticalSection_End2(&_py_cs2);
+ PyCriticalSection2_End(&_py_cs2);
2436
}
2437
2438
In the default build, this macro expands to ``}``.
0 commit comments