Unverified Commit 811decd7 authored by Daniel's avatar Daniel Committed by GitHub
Browse files

Fix typo in docstring (#1700)

Added a missing preposition
parent c0a8e422
Loading
Loading
Loading
Loading
+1 −1
Changes for src/black/__init__.py: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -925,7 +925,7 @@ def format_stdin_to_stdout(


def format_file_contents(src_contents: str, *, fast: bool, mode: Mode) -> FileContent:
    """Reformat contents a file and return new contents.
    """Reformat contents of a file and return new contents.

    If `fast` is False, additionally confirm that the reformatted code is
    valid by calling :func:`assert_equivalent` and :func:`assert_stable` on it.