Skip to content

Commit a0e6969

Browse files
Update Objects/longobject.c
Co-authored-by: Stan Ulbrych <stan@python.org>
1 parent e563424 commit a0e6969

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎Objects/longobject.c‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,9 @@ maybe_small_long(PyLongObject *v)
116116
/* Check for signals on every 32nd iteration `i` of a loop. */
117117
#define SIGCHECK(i, PyTryBlock) \
118118
do { \
119-
if ((((i) & 31) == 31) && PyErr_CheckSignals()) PyTryBlock \
119+
if ((((i) & 31) == 31) && PyErr_CheckSignals()) { \
120+
PyTryBlock \
121+
} \
120122
} while(0)
121123

122124
/* Normalize (remove leading zeros from) an int object.

0 commit comments

Comments
 (0)