diff options
author | Georg Brandl <georg@python.org> | 2008-06-04 13:01:30 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-06-04 13:01:30 (GMT) |
commit | a26f8ca668d09eff8ab03ef3d1cddb9bfbc6d124 (patch) | |
tree | 4b3704507702b98e0ce4107403a72093a5d6b9fc /Modules/main.c | |
parent | f954c4b9fb8529cc13a2e24c58137c66ac836b28 (diff) | |
download | cpython-a26f8ca668d09eff8ab03ef3d1cddb9bfbc6d124.zip cpython-a26f8ca668d09eff8ab03ef3d1cddb9bfbc6d124.tar.gz cpython-a26f8ca668d09eff8ab03ef3d1cddb9bfbc6d124.tar.bz2 |
Revert r63934 -- it was mixing two patches.
Diffstat (limited to 'Modules/main.c')
-rw-r--r-- | Modules/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/main.c b/Modules/main.c index e2bfdb4..b762b0f 100644 --- a/Modules/main.c +++ b/Modules/main.c @@ -72,6 +72,7 @@ static char *usage_2 = "\ -OO : remove doc-strings in addition to the -O optimizations\n\ -s : don't add user site directory to sys.path; also PYTHONNOUSERSITE\n\ -S : don't imply 'import site' on initialization\n\ +-t : issue warnings about inconsistent tab usage (-tt: issue errors)\n\ "; static char *usage_3 = "\ -u : unbuffered binary stdout and stderr; also PYTHONUNBUFFERED=x\n\ @@ -369,7 +370,7 @@ Py_Main(int argc, wchar_t **argv) break; case 't': - /* ignored for backwards compatibility */ + Py_TabcheckFlag++; break; case 'u': |