Skip to content

Commit 3aa46e7

Browse files
committed
remove comments
1 parent ff6b7ee commit 3aa46e7

File tree

3 files changed

+0
-4
lines changed

3 files changed

+0
-4
lines changed

Modules/_asynciomodule.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3624,7 +3624,6 @@ _asyncio_all_tasks_impl(PyObject *module, PyObject *loop)
36243624
}
36253625
Py_DECREF(eager_iter);
36263626

3627-
/* Check if loop ended because of exception in PyIter_Next */
36283627
if (PyErr_Occurred()) {
36293628
Py_DECREF(tasks);
36303629
Py_DECREF(loop);
@@ -3671,7 +3670,6 @@ _asyncio_all_tasks_impl(PyObject *module, PyObject *loop)
36713670
Py_DECREF(scheduled_iter);
36723671
Py_DECREF(loop);
36733672

3674-
/* Check if loop ended because of exception in PyIter_Next */
36753673
if (PyErr_Occurred()) {
36763674
Py_DECREF(tasks);
36773675
return NULL;

Objects/frameobject.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,6 @@ framelocalsproxy_merge(PyObject* self, PyObject* other)
264264

265265
Py_DECREF(iter);
266266

267-
/* Check if loop ended because of exception in PyIter_Next */
268267
if (PyErr_Occurred()) {
269268
return -1;
270269
}

Objects/namespaceobject.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ namespace_repr(PyObject *ns)
141141
goto error;
142142
}
143143

144-
/* Check if loop ended because of exception in PyIter_Next */
145144
if (PyErr_Occurred()) {
146145
goto error;
147146
}

0 commit comments

Comments
 (0)