From 58fd7885cd7ec3da248a1ce4d82a4e8d3dfd5af9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=81ukasz=20Langa?= Date: Mon, 28 Oct 2019 13:00:31 +0100 Subject: [PATCH] Docstring nit --- black.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- 2.39.5