<s> import sys <EOL> from six . moves import builtins <EOL> def resetquit ( builtins ) : <EOL> """<STR_LIT>""" <EOL> def __call__ ( self , code = None ) : <EOL> raise SystemExit ( code ) <EOL> __call__ . __name__ = '<STR_LIT>' <EOL> builtins . quit . __class__ . __call__ = __call__ <EOL> def monkeypatch_quit ( ) : <EOL> if '<STR_LIT>' in sys . modules : <EOL> resetquit ( builtins ) </s>
