Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6c981ad

Browse files
committed
Only write message about changed Tab size with -v.
1 parent 38e5d27 commit 6c981ad

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Parser/tokenizer.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,8 @@ PyTokenizer_Get(tok, p_start, p_end)
589589

590590
if (newsize >= 1 && newsize <= 40) {
591591
tok->tabsize = newsize;
592-
PySys_WriteStderr(
592+
if (Py_VerboseFlag)
593+
PySys_WriteStderr(
593594
"Tab size set to %d\n",
594595
newsize);
595596
}

0 commit comments

Comments
 (0)