Skip to content

Commit 09c3cdd

Browse files
Simplify a comment.
1 parent 4b086e9 commit 09c3cdd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Python/ceval.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2922,10 +2922,9 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, PyFrameObject *f, int throwflag)
29222922
}
29232923

29242924
case TARGET(MAKE_CELL): {
2925+
// "initial" is probably NULL but not if it's an arg (or set
2926+
// via PyFrame_LocalsToFast() before MAKE_CELL has run).
29252927
PyObject *initial = GETLOCAL(oparg);
2926-
// If "initial" isn't NULL then it is an arg value set
2927-
// in _PyEval_MakeFrameVector() (likely) or an initial
2928-
// value set in PyFrame_LocalsToFast() (unlikely).
29292928
PyObject *cell = PyCell_New(initial);
29302929
if (cell == NULL) {
29312930
goto error;

0 commit comments

Comments
 (0)