(self)
Close the session.
Close the session.
Close the session .
def close(self):
        """Close the session."""
        # close files if we opened any
        self.files.close_all()
        self.files.close_devices()
        # kill the iostreams threads so windows doesn't run out
        self.io_streams.close()
def close ( self ) : # close files if we opened any self . files . close_all ( ) self . files . close_devices ( ) # kill the iostreams threads so windows doesn't run out self . io_streams . close ( )