Skip to content

Commit 4369d2d

Browse files
Fix dedent usage
1 parent c514255 commit 4369d2d

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Tools/c-analyzer/c_parser/parser/__init__.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,8 @@ def _iter_source(lines, *, maxtext=11_000, maxlines=200, showtext=False):
215215

216216
if srcinfo.too_much_text(maxtext):
217217
import textwrap
218-
msg = f'''too much text, try to increase MAX_SIZES[MAXTEXT] in cpython/_parser.py
218+
msg = f'''
219+
too much text, try to increase MAX_SIZES[MAXTEXT] in cpython/_parser.py
219220
{filename} starting at line {lno_from} to {lno_to}
220221
has code with length {len(text)} greater than {maxtext}:
221222
{text}
@@ -224,7 +225,8 @@ def _iter_source(lines, *, maxtext=11_000, maxlines=200, showtext=False):
224225

225226
if srcinfo.too_much_lines(maxlines):
226227
import textwrap
227-
msg = f'''too much lines, try to increase MAX_SIZES[MAXLINES] in cpython/_parser.py
228+
msg = f'''
229+
too much lines, try to increase MAX_SIZES[MAXLINES] in cpython/_parser.py
228230
{filename} starting at line {lno_from} to {lno_to}
229231
has code with number of lines {lno_to - lno_from} greater than {maxlines}:
230232
{text}

0 commit comments

Comments
 (0)