Only write message about changed Tab size with -v.

This commit is contained in:
Guido van Rossum 2000-04-03 23:02:17 +00:00
parent 38e5d27cae
commit 6c981ad25e
1 changed files with 2 additions and 1 deletions

View File

@ -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);
}