From 653aa40579a8741d1405679460b36751ff50b531 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=81ukasz=20Langa?= Date: Wed, 28 Mar 2018 19:28:31 -0700 Subject: [PATCH 1/1] Add DebugVisitor.show() to documentation under utility functions --- docs/reference/reference_functions.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/reference/reference_functions.rst b/docs/reference/reference_functions.rst index 098f155..c167c4b 100644 --- a/docs/reference/reference_functions.rst +++ b/docs/reference/reference_functions.rst @@ -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 -- 2.39.5