diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-03-03 18:01:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-03 18:01:09 (GMT) |
commit | 57fb29219f09ee705065e39ad488334a9c7e3d71 (patch) | |
tree | 8b28f2080d5e0c8cb767a8df31c2572e32ae3ec6 /Python | |
parent | 2aa694dd55202eb6d062fdf49c07cf95f8520f2d (diff) | |
download | cpython-57fb29219f09ee705065e39ad488334a9c7e3d71.zip cpython-57fb29219f09ee705065e39ad488334a9c7e3d71.tar.gz cpython-57fb29219f09ee705065e39ad488334a9c7e3d71.tar.bz2 |
bpo-39831: Remove outdated comment. (GH-18764)
(cherry picked from commit ae75a294352e9b9487f5dc8e88f068e7e6974dc2)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Python')
-rw-r--r-- | Python/_warnings.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Python/_warnings.c b/Python/_warnings.c index 87269dd..52a13df 100644 --- a/Python/_warnings.c +++ b/Python/_warnings.c @@ -886,11 +886,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; } |