Skip to content

Commit

Permalink
Fix typo in docstring (psf#1700)
Browse files Browse the repository at this point in the history
Added a missing preposition
  • Loading branch information
ffe4 authored and noxan committed Jun 6, 2021
1 parent de13250 commit e12a877
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/black/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit e12a877

Please sign in to comment.