commit | 3510334361d6d39aad89e4e0d9bccd0695668583 | [log] [tgz] |
---|---|---|
author | Yury Selivanov <yury@magic.io> | Sun Jan 21 20:47:04 2018 -0500 |
committer | GitHub <noreply@github.com> | Sun Jan 21 20:47:04 2018 -0500 |
tree | a958b198d0afe94ed7b9098ead6e19eef89aa55a | |
parent | a4afcdfa55ddffa4b9ae3b0cf101628c7bff4102 [diff] |
bpo-32591: Fix PyExc_WarnFormat call (follow-up commit) (#5263) The previous version was correct in terms of behaviour, but checking the return value of PyErr_WarnFormat allows to avoid calling PyErr_Occurred and silences the coverity alarm.