From f954c4b9fb8529cc13a2e24c58137c66ac836b28 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Wed, 4 Jun 2008 11:41:32 +0000 Subject: Remove meaning of -ttt, but still accept -t option on cmdline for compatibility. --- Modules/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Modules/main.c') diff --git a/Modules/main.c b/Modules/main.c index b762b0f2963..e2bfdb44583 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': -- cgit v1.2.3