def flush(self):
    'Save the object back to file\n\n        The method saves the object back to a file\n        with the identical filename it was read from.\n        '
    self.writeto(self.filename)
Save the object back to file

The method saves the object back to a file
with the identical filename it was read from.
def flush(self):
    'Save the object back to file\n\n        The method saves the object back to a file\n        with the identical filename it was read from.\n        '
    self.writeto(self.filename)