Skip to content

Commit a7957fa

Browse files
committed
Remove unnecessary decref
1 parent 45e0c3a commit a7957fa

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Python/optimizer.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1387,7 +1387,6 @@ counter_optimize(
13871387
if (executor == NULL) {
13881388
return -1;
13891389
}
1390-
Py_INCREF(self);
13911390
Py_SET_TYPE(executor, &_PyCounterExecutor_Type);
13921391
*exec_ptr = executor;
13931392
return 1;

0 commit comments

Comments
 (0)