Skip to content

Commit

Permalink
Update faulthandler.c
Browse files Browse the repository at this point in the history
Co-authored-by: Sam Gross <colesbury@gmail.com>
  • Loading branch information
ZeroIntensity and colesbury authored Jan 2, 2025
1 parent b1677f3 commit 11bb638
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Modules/faulthandler.c
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,7 @@ deduce_all_threads(void)
}
// We can't use _PyThreadState_GET, so use the stored GILstate one
PyThreadState *tstate = PyGILState_GetThisThreadState();
if (tstate == NULL)
{
if (tstate == NULL) {
return 0;
}

Expand Down

0 comments on commit 11bb638

Please sign in to comment.