24
24
Open this as for a regular file, then use commit() to move into
25
25
place or abort() to cancel.
30
def __init__(self, filename, mode='wb', encoding=None):
32
31
if mode != 'wb' and mode != 'wt':
33
32
raise ValueError("invalid AtomicFile mode %r" % mode)