@@ -1735,9 +1735,9 @@ identify_unbound_names(PyThreadState *tstate, PyCodeObject *co,
17351735 if (inst .op .code == LOAD_ATTR ) {
17361736 int oparg = GET_OPARG (co , i , inst .op .arg );
17371737 int index = LOAD_ATTR_NAME_INDEX (oparg );
1738- PyObject * name = GETITEM (co -> co_names , index );
1739- // The previous 3 lines might be the problem.
1738+ // The next line might be the problem.
17401739continue ;
1740+ PyObject * name = GETITEM (co -> co_names , index );
17411741 if (PySet_Contains (attrnames , name )) {
17421742 if (_PyErr_Occurred (tstate )) {
17431743 return -1 ;
@@ -1753,9 +1753,9 @@ continue;
17531753 else if (inst .op .code == LOAD_GLOBAL ) {
17541754 int oparg = GET_OPARG (co , i , inst .op .arg );
17551755 int index = LOAD_ATTR_NAME_INDEX (oparg );
1756- PyObject * name = GETITEM (co -> co_names , index );
1757- // The previous 3 lines might be the problem.
1756+ // The next line might be the problem.
17581757continue ;
1758+ PyObject * name = GETITEM (co -> co_names , index );
17591759 if (PySet_Contains (globalnames , name )) {
17601760 if (_PyErr_Occurred (tstate )) {
17611761 return -1 ;
0 commit comments