diff options
author | Georg Brandl <georg@python.org> | 2008-06-04 11:41:32 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-06-04 11:41:32 (GMT) |
commit | f954c4b9fb8529cc13a2e24c58137c66ac836b28 (patch) | |
tree | 91575068c14eec261bc4e2c44da9c881eda4efe1 /Modules/main.c | |
parent | e5d68aceb529934e75d505bbfaf867e02493a1bc (diff) | |
download | cpython-f954c4b9fb8529cc13a2e24c58137c66ac836b28.zip cpython-f954c4b9fb8529cc13a2e24c58137c66ac836b28.tar.gz cpython-f954c4b9fb8529cc13a2e24c58137c66ac836b28.tar.bz2 |
Remove meaning of -ttt, but still accept -t option on cmdline for compatibility.
Diffstat (limited to 'Modules/main.c')
-rw-r--r-- | Modules/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/main.c b/Modules/main.c index b762b0f..e2bfdb4 100644 --- a/Modules/main.c +++ b/Modules/main.c @@ -72,7 +72,6 @@ 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\ @@ -370,7 +369,7 @@ Py_Main(int argc, wchar_t **argv) break; case 't': - Py_TabcheckFlag++; + /* ignored for backwards compatibility */ break; case 'u': |