summaryrefslogtreecommitdiffstats
path: root/Parser/tokenizer.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-04-03 23:02:17 (GMT)
committerGuido van Rossum <guido@python.org>2000-04-03 23:02:17 (GMT)
commit6c981ad25e38a2f02a9347310bdc680755208450 (patch)
treec25a2bebd9be000026f3ab3cea03f819409fbe3f /Parser/tokenizer.c
parent38e5d27caee56b6958e0034e342abb48e6100390 (diff)
downloadcpython-6c981ad25e38a2f02a9347310bdc680755208450.zip
cpython-6c981ad25e38a2f02a9347310bdc680755208450.tar.gz
cpython-6c981ad25e38a2f02a9347310bdc680755208450.tar.bz2
Only write message about changed Tab size with -v.
Diffstat (limited to 'Parser/tokenizer.c')
-rw-r--r--Parser/tokenizer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c
index 8497934..e4b058e 100644
--- a/Parser/tokenizer.c
+++ b/Parser/tokenizer.c
@@ -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);
}