Skip to content

Commit bca65fb

Browse files
committed
Rename parameter.
1 parent 03ccb38 commit bca65fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Python/pystate.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3174,16 +3174,16 @@ ref_as_interp(PyInterpreterRef ref)
31743174
}
31753175

31763176
int
3177-
PyInterpreterRef_Get(PyInterpreterRef *ref_ptr)
3177+
PyInterpreterRef_Get(PyInterpreterRef *ref)
31783178
{
3179-
assert(ref_ptr != NULL);
3179+
assert(ref != NULL);
31803180
PyInterpreterState *interp = PyInterpreterState_Get();
31813181
if (_PyInterpreterState_Incref(interp) < 0) {
31823182
PyErr_SetString(PyExc_PythonFinalizationError,
31833183
"Cannot acquire strong interpreter references anymore");
31843184
return -1;
31853185
}
3186-
*ref_ptr = (PyInterpreterRef)interp;
3186+
*ref = (PyInterpreterRef)interp;
31873187
return 0;
31883188
}
31893189

0 commit comments

Comments
 (0)