From: Daniel <61800298+ffe4@users.noreply.github.com> Date: Sun, 13 Sep 2020 15:59:18 +0000 (+0200) Subject: Fix typo in docstring (#1700) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/811decd7f10fb2fb3ae343b9d9d0a3ae53b86a53?hp=c0a8e4224360a6917dcb5d889b08d5fdcfaf7c2d Fix typo in docstring (#1700) Added a missing preposition --- diff --git a/src/black/__init__.py b/src/black/__init__.py index 9e18a7d..ffaafe2 100644 --- a/src/black/__init__.py +++ b/src/black/__init__.py @@ -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.