diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-08-19 18:17:37 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-08-19 18:17:37 +0200 |
commit | 018016d8e338dc99353b96df2c570bf2fd63fce2 (patch) | |
tree | 4f858c2b7d5f1a4d5226bb911cf9f339ae8d2f21 /Python/thread.c | |
parent | f736c261a2094eee1529c98786c612904c067540 (diff) | |
download | cpython-git-018016d8e338dc99353b96df2c570bf2fd63fce2.tar.gz |
Issue #27128: Cleanup slot_sq_item()
* Invert condition of test to avoid levels of indentation
* Remove useless Py_XDECREF(args) in the error block
* Replace Py_XDECREF(func) with Py_DECREF(func) in the error block: func cannot
be NULL when reaching the error block
Diffstat (limited to 'Python/thread.c')
0 files changed, 0 insertions, 0 deletions