Skip to content

Commit f53afa6

Browse files
Wording
1 parent bf07654 commit f53afa6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Modules/_testinternalcapi.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2445,7 +2445,7 @@ static PyObject *
24452445
stackref_make_heap_safe(PyObject *self, PyObject *op)
24462446
{
24472447
_PyStackRef ref = PyStackRef_FromPyObjectNew(op);
2448-
// In no-GIL production build ref2 is equal to ref.
2448+
// For no-GIL release build ref2 is equal to ref.
24492449
_PyStackRef ref2 = PyStackRef_MakeHeapSafe(ref);
24502450
PyObject *obj = _PyStackRef_AsTuple(ref2, op);
24512451
PyStackRef_CLOSE(ref2);
@@ -2490,9 +2490,9 @@ static PyObject *
24902490
stackref_dup_borrowed_with_close(PyObject *self, PyObject *op)
24912491
{
24922492
_PyStackRef ref = PyStackRef_FromPyObjectBorrow(op);
2493-
// In no-GIL production build ref2 is equal to ref.
2493+
// For no-GIL release build ref2 is equal to ref.
24942494
_PyStackRef ref2 = PyStackRef_DUP(ref);
2495-
// In production build closing borrowed ref is no-op.
2495+
// For release build closing borrowed ref is no-op.
24962496
PyStackRef_XCLOSE(ref);
24972497
PyObject *obj = _PyStackRef_AsTuple(ref2, op);
24982498
PyStackRef_XCLOSE(ref2);

0 commit comments

Comments
 (0)