mirror of
https://github.com/python/cpython.git
synced 2025-11-01 02:38:53 +00:00
Only write message about changed Tab size with -v.
This commit is contained in:
parent
38e5d27cae
commit
6c981ad25e
1 changed files with 2 additions and 1 deletions
|
|
@ -589,7 +589,8 @@ PyTokenizer_Get(tok, p_start, p_end)
|
|||
|
||||
if (newsize >= 1 && newsize <= 40) {
|
||||
tok->tabsize = newsize;
|
||||
PySys_WriteStderr(
|
||||
if (Py_VerboseFlag)
|
||||
PySys_WriteStderr(
|
||||
"Tab size set to %d\n",
|
||||
newsize);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue