Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 57e11ae

Browse files
committed
usage_mid: Remove the description of the -X flag; it's gone now.
Py_Main(): Remove the 'X' case.
1 parent 3ce0964 commit 57e11ae

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

Modules/main.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ static char *usage_mid = "\
7878
-U : Unicode literals: treats '...' literals like u'...'\n\
7979
-v : verbose (trace import statements) (also PYTHONVERBOSE=x)\n\
8080
-x : skip first line of source, allowing use of non-Unix forms of #!cmd\n\
81-
-X : disable class based built-in exceptions\n\
8281
-c cmd : program passed in as string (terminates option list)\n\
8382
file : program read from script file\n\
8483
- : program read from stdin (default; interactive mode if a tty)\n\
@@ -169,10 +168,6 @@ Py_Main(argc, argv)
169168
skipfirstline = 1;
170169
break;
171170

172-
case 'X':
173-
Py_UseClassExceptionsFlag = 0;
174-
break;
175-
176171
case 'U':
177172
Py_UnicodeFlag++;
178173
break;

0 commit comments

Comments
 (0)