

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

dataset/ETHPy150Open kylemacfarlane/django-cb-storage-s3/src/cuddlybuddly/storage/s3/storage.py S3StorageFile.write/VarMisuse@37/57 `content`->`self`