Commit 4ea0d84
Replace boolean multiplication with explicit 'and' in print_exc_group
The expression need_print_underline *= (i == len(exc.exceptions))
used bool*bool as a substitute for logical and. Replace with a
readable conditional.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 16abdaf commit 4ea0d84
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
285 | | - | |
286 | | - | |
| 285 | + | |
287 | 286 | | |
288 | 287 | | |
289 | 288 | | |
| |||
0 commit comments