def set_pattern(self, pattern=1):
        self.pattern = pattern
Callback when the socket is closed. Frees up resource related to this socket.
dataset/ETHPy150Open jmcnamara/XlsxWriter/xlsxwriter/format.py/Format.set_pattern--crossover with--dataset/ETHPy150Open nellessen/Tornado-Redis-Chat/app.py/ChatSocketHandler.on_close