From 1b628ab9ea49f0115de2705f01795553a3e07d5a Mon Sep 17 00:00:00 2001 From: Erez Sh Date: Wed, 18 Nov 2020 00:39:26 +0200 Subject: [PATCH] Fix for Python2 --- lark/visitors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lark/visitors.py b/lark/visitors.py index 14b89f2..62aeb2e 100644 --- a/lark/visitors.py +++ b/lark/visitors.py @@ -15,7 +15,7 @@ class Discard(Exception): """ pass -class Inline: +class Inline(object): """When returning an Inline instance in a transformer callback, the node is inlined, and replaced by its children. """