Skip to content

Commit 173cde8

Browse files
committed
Adjust vertical bars per PEP-7
1 parent 07cb6e9 commit 173cde8

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

Modules/_remote_debugging/_remote_debugging.h

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -176,21 +176,21 @@ typedef enum _WIN32_THREADSTATE {
176176
/* Exception cause macro - chains context to existing exceptions in debug mode.
177177
* This macro assumes an exception has already been set by the failing function.
178178
* If no exception exists, this indicates a bug that should be fixed. */
179-
#define set_exception_cause(unwinder, exc_type, message) \
180-
do { \
181-
if (!PyErr_ExceptionMatches(PyExc_PermissionError)) { \
182-
if (PyErr_Occurred()) { \
183-
if (unwinder->debug) { \
184-
/* Chain exception with context */ \
185-
_PyErr_FormatFromCause(exc_type, "%s", message); \
186-
} \
187-
} else { \
188-
/* BUG: Exception should have been set by caller */ \
189-
/* Fallback prevents crash; assert catches bug in debug builds */ \
190-
PyErr_SetString(exc_type, message); \
179+
#define set_exception_cause(unwinder, exc_type, message) \
180+
do { \
181+
if (!PyErr_ExceptionMatches(PyExc_PermissionError)) { \
182+
if (PyErr_Occurred()) { \
183+
if (unwinder->debug) { \
184+
/* Chain exception with context */ \
185+
_PyErr_FormatFromCause(exc_type, "%s", message); \
186+
} \
187+
} else { \
188+
/* BUG: Exception should have been set by caller */ \
189+
/* Fallback prevents crash; assert catches bug in debug builds */ \
190+
PyErr_SetString(exc_type, message); \
191191
assert(PyErr_Occurred() && "function returned -1 without setting exception"); \
192-
} \
193-
} \
192+
} \
193+
} \
194194
} while (0)
195195

196196
/* ============================================================================

0 commit comments

Comments
 (0)