SIGN IN SIGN UP

[3.12] gh-104372: use == -1 before PyErr_Occurred (GH-104831) (#104833)

gh-104372: use == -1 before PyErr_Occurred (GH-104831)

The ideal pattern for this.  (already in the 3.11 backport)
(cherry picked from commit 7f963bfc79a515dc9822ebddbfb1b5927d2dda09)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
M
Miss Islington (bot) committed
b719dd8725a820a1af4b76c30ae87c23d8db68c0
Parent: 22c45c4
Committed by GitHub <noreply@github.com> on 5/24/2023, 4:40:21 AM