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.
Y
Yury Selivanov committed
3510334361d6d39aad89e4e0d9bccd0695668583
Parent: a4afcdf
Committed by GitHub <noreply@github.com>
on 1/22/2018, 1:47:04 AM