import exit

The builtin exit function is added by the site package "for the
interactive interpreter" and "should not be used in programs", according
to the manual.

We want sys.exit instead. (I didn't know you could pass it a string
value, but it turns out you can.)
master
magical 2022-08-06 05:10:14 +00:00
parent df9d419919
commit b1d1de659d
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ from getpass import getpass
from subprocess import call
from random import choice
from code import interact
from sys import exit
import rlcompleter
import readline
import tempfile