Skip to content

Commit a5c1cd8

Browse files
committed
improve comment.
1 parent 1719856 commit a5c1cd8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Python/sysmodule.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,8 @@ sys_exit_impl(PyObject *module, PyObject *status)
917917
{
918918
/* Raise SystemExit so callers may catch it or clean up. */
919919
if (PyTuple_Check(status)) {
920-
/* Make sure that tuples are not flattened during normalization. */
920+
/* Make sure that tuples are not flattened during normalization
921+
* due to the fast path for tuples in _PyErr_CreateException(). */
921922
PyObject *exc = PyObject_CallOneArg(PyExc_SystemExit, status);
922923
PyErr_SetObject(PyExc_SystemExit, exc);
923924
Py_DECREF(exc);

0 commit comments

Comments
 (0)