From: Ɓukasz Langa Date: Mon, 28 Oct 2019 12:00:31 +0000 (+0100) Subject: Docstring nit X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/58fd7885cd7ec3da248a1ce4d82a4e8d3dfd5af9?hp=53808e390294d717d69c71044527890d4ab7452e Docstring nit --- diff --git a/black.py b/black.py index 5b2e017..f6f687b 100644 --- a/black.py +++ b/black.py @@ -3780,8 +3780,10 @@ def dump_to_file(*output: str) -> str: @contextmanager def nullcontext() -> Iterator[None]: - """Return context manager that does nothing. - Similar to `nullcontext` from python 3.7""" + """Return an empty context manager. + + To be used like `nullcontext` in Python 3.7. + """ yield