.. module:: atomicwrites
.. autofunction:: atomic_write
All filesystem errors are subclasses of :py:exc:`OSError`.
- On UNIX systems, errors from the Python stdlib calls are thrown.
- On Windows systems, errors from Python's
ctypesare thrown.
In either case, the errno attribute on the thrown exception maps to an
errorcode in the errno module.
.. autofunction:: replace_atomic
.. autofunction:: move_atomic
.. autoclass:: AtomicWriter :members: