

def write(self, content):
    if ('w' not in content._mode):
        raise AttributeError('File was opened for read-only access.')
    self.file.write(force_bytes(content))
    self._is_dirty = True
    self._is_read = True

dataset/ETHPy150Open glasslion/django-qiniu-storage/qiniustorage/backends.py QiniuFile.write/VarMisuse@17/20 `self`->`content`