]> git.madduck.net Git - etc/vim.git/blobdiff - docs/reference/reference_functions.rst

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
[etc/vim.git] / docs / reference / reference_functions.rst
index f9cd50555be525560ec62c2ef7a743db343b9c6a..c167c4b9a00b01723d33e047e3ed597320d6bb85 100644 (file)
@@ -56,11 +56,15 @@ Split functions
 
 .. autofunction:: black.split_line
 
-.. autofunction:: black.split_succeeded_or_raise
+.. autofunction:: black.bracket_split_succeeded_or_raise
 
 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
@@ -71,4 +75,4 @@ Utilities
 
 .. autofunction:: black.preceding_leaf
 
-.. autofunction:: black.whitespace
\ No newline at end of file
+.. autofunction:: black.whitespace