

def initiate_shutdown(self):
    "A horrible, horrible way to kill the server for Python 2.6 and\n        later.  It's the best we can do.\n        "
    sig = getattr(signal, 'SIGKILL', signal.SIGTERM)
    if (os.environ.get('WERKZEUG_RUN_MAIN') == 'true'):
        os.kill(os.getpid(), self)
    self.server._BaseServer__shutdown_request = True
    self.server._BaseServer__serving = False

dataset/ETHPy150Open Eforcers/gae-flask-todo/lib/werkzeug/serving.py WSGIRequestHandler.initiate_shutdown/VarMisuse@51/124 `sig`->`self`