def leave_room(room):
 socketio = flask.current_app.extensions['socketio']
 socketio.server.leave_room(flask.request.sid, room, namespace=flask.request.namespace)

def leave_room ( room ) : socketio = flask . current_app . extensions [ 'socketio' ] socketio . server . leave_room ( flask . request . sid , room , namespace = flask . request . namespace )
leave a room .