Skip to content

Commit f9c29ad

Browse files
remove commented-out code
1 parent c627e30 commit f9c29ad

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/PyEventLoop.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ static PyObject *eventLoopJobWrapper(PyObject *jobFn, PyObject *Py_UNUSED(_)) {
2222
if (!ret) {
2323
return NULL;
2424
}
25-
Py_DECREF(ret);
25+
Py_DECREF(ret);
2626
if (PyErr_Occurred()) {
2727
return NULL;
2828
} else {
@@ -78,7 +78,6 @@ PyEventLoop::Future PyEventLoop::ensureFuture(PyObject *awaitable) {
7878
Py_DECREF(args);
7979
Py_DECREF(kwargs);
8080

81-
// Py_INCREF(futureObj);
8281
return PyEventLoop::Future(futureObj);
8382
}
8483

0 commit comments

Comments
 (0)