(
        self, filepath: PATH_TYPES, mode: str = "w", **kw: Any
    )
Rewrite an existing file atomically to avoid programs running in
        parallel to have race conditions while reading.
Rewrite an existing file atomically to avoid programs running in
        parallel to have race conditions while reading.
Rewrite an existing file atomically to avoid programs running in parallel to have race conditions while reading .
def rewrite(
        self, filepath: PATH_TYPES, mode: str = "w", **kw: Any
    ) -> Generator[IO, None, None]:
        """Rewrite an existing file atomically to avoid programs running in
        parallel to have race conditions while reading."""
        raise NotImplementedError
def rewrite ( self , filepath : PATH_TYPES , mode : str = "w" , * * kw : Any ) -> Generator [ IO , None , None ] : raise NotImplementedError