]> git.madduck.net Git - etc/vim.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Docstring nit
authorŁukasz Langa <lukasz@langa.pl>
Mon, 28 Oct 2019 12:00:31 +0000 (13:00 +0100)
committerŁukasz Langa <lukasz@langa.pl>
Mon, 28 Oct 2019 12:00:31 +0000 (13:00 +0100)
black.py

index 5b2e0171c484d2ed5d94ad3066d4fb2a13068ce7..f6f687b8125430898389ac7f54d453cf572e731c 100644 (file)
--- 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