Skip to content

Commit

Permalink
bpo-39831: Remove outdated comment. (pythonGH-18764)
Browse files Browse the repository at this point in the history
  • Loading branch information
serhiy-storchaka committed Mar 3, 2020
1 parent 91fe414 commit ae75a29
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Python/_warnings.c
Original file line number Diff line number Diff line change
Expand Up @@ -889,11 +889,9 @@ setup_context(Py_ssize_t stack_level, PyObject **filename, int *lineno,
return 1;

handle_error:
/* filename not XDECREF'ed here as there is no way to jump here with a
dangling reference. */
Py_XDECREF(*registry);
Py_XDECREF(*module);
Py_XDECREF(*filename);
Py_DECREF(*filename);
return 0;
}

Expand Down

0 comments on commit ae75a29

Please sign in to comment.