(self, mode, bufsize=None)
return self
Returns self, since we are a file-like object already
Returns self, since we are a file-like object already
Returns self since we are a file - like object already
def makefile(self, mode, bufsize=None):
        """
        Returns self, since we are a file-like object already
        """
        if bufsize:
            self._buffer_size = bufsize

        # Increment the counter with the number of times we've called makefile
        # - we don't want close to actually close things until all the objects
        # that originally called makefile() are gone
        self._makefile_called = self._makefile_called + 1
        return self
def makefile ( self , mode , bufsize = None ) : if bufsize : self . _buffer_size = bufsize # Increment the counter with the number of times we've called makefile # - we don't want close to actually close things until all the objects # that originally called makefile() are gone self . _makefile_called = self . _makefile_called + 1 return self