diff options
author | Georg Brandl <georg@python.org> | 2008-06-04 13:06:58 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-06-04 13:06:58 (GMT) |
commit | e1b5ac640841e4233bcd0204efcd50fe9b50a6d0 (patch) | |
tree | e0baea9c87f7ceee0cba306689bca1f0607b241d /Modules/main.c | |
parent | a26f8ca668d09eff8ab03ef3d1cddb9bfbc6d124 (diff) | |
download | cpython-e1b5ac640841e4233bcd0204efcd50fe9b50a6d0.zip cpython-e1b5ac640841e4233bcd0204efcd50fe9b50a6d0.tar.gz cpython-e1b5ac640841e4233bcd0204efcd50fe9b50a6d0.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': |