def set_close_callback(self, callback):
        self._close_callback = stack_context.wrap(callback)
        self._maybe_add_error_listener()
Hook for the past.utils.native() function
dataset/ETHPy150Open RobotWebTools/rosbridge_suite/rosbridge_server/src/tornado/iostream.py/BaseIOStream.set_close_callback--crossover with--dataset/ETHPy150Open PythonCharmers/python-future/src/past/types/olddict.py/olddict.__native__