]> 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:

Add DebugVisitor.show() to documentation under utility functions
authorŁukasz Langa <lukasz@langa.pl>
Thu, 29 Mar 2018 02:28:31 +0000 (19:28 -0700)
committerŁukasz Langa <lukasz@langa.pl>
Thu, 29 Mar 2018 02:28:31 +0000 (19:28 -0700)
docs/reference/reference_functions.rst

index 098f15510389d40e69918b012f8d5a7fec7450d9..c167c4b9a00b01723d33e047e3ed597320d6bb85 100644 (file)
@@ -61,6 +61,10 @@ Split functions
 Utilities
 ---------
 
+.. py:function:: black.DebugVisitor.show(code: str) -> None
+
+    Pretty-print the lib2to3 AST of a given string of `code`.
+
 .. autofunction:: black.diff
 
 .. autofunction:: black.generate_comments