Skip to content

Commit 95a0be3

Browse files
committed
fix issue pointed out by Kumar
1 parent 59ac85a commit 95a0be3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/c-api/init.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2356,7 +2356,7 @@ code triggered by the finalizer blocks and calls :c:func:`PyEval_SaveThread`.
23562356
PyCriticalSection_BeginMutex(&_py_cs, m)
23572357
23582358
Note that unlike :c:macro:`Py_BEGIN_CRITICAL_SECTION`, there is no cast for
2359-
the second argument - it must be a :c:type:`PyMutex`.
2359+
the argument of the macro - it must be a :c:type:`PyMutex` pointer.
23602360
23612361
On the default build, this macro expands to ``{``.
23622362
@@ -2402,7 +2402,7 @@ code triggered by the finalizer blocks and calls :c:func:`PyEval_SaveThread`.
24022402
PyCriticalSection2_BeginMutex(&_py_cs2, m1, m2)
24032403
24042404
Note that unlike :c:macro:`Py_BEGIN_CRITICAL_SECTION2`, there is no cast for
2405-
the second and third arguments - they must be :c:type:`PyMutex` pointers.
2405+
the arguments of the macro - they must be :c:type:`PyMutex` pointers.
24062406
24072407
On the default build, this macro expands to ``{``.
24082408

0 commit comments

Comments
 (0)