From d36a6dbec208aab37e4e547c1adbcee9b2266d20 Mon Sep 17 00:00:00 2001 From: Jan Rydzewski Date: Fri, 26 Oct 2018 14:09:45 +0200 Subject: [PATCH] Update how_to_use.md --- docs/how_to_use.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/how_to_use.md b/docs/how_to_use.md index a76df2d..c1a8518 100644 --- a/docs/how_to_use.md +++ b/docs/how_to_use.md @@ -56,7 +56,7 @@ new_tree = MyTransformer().transform(tree) By default Lark silently resolves Shift/Reduce conflicts as Shift. To enable warnings pass `debug=True`. To get the messages printed you have to configure `logging` framework beforehand. For example: -``` +```python import logging logging.basicConfig(level=logging.DEBUG)