From e0e698938c02dd0b14241718c293b377d11679d9 Mon Sep 17 00:00:00 2001 From: Erez Sh Date: Tue, 26 Jan 2021 16:55:47 -0500 Subject: [PATCH] Examples: Fixes to paths (Issue #780) --- examples/README.rst | 2 +- examples/advanced/error_puppet.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/README.rst b/examples/README.rst index f2b0125..2652362 100644 --- a/examples/README.rst +++ b/examples/README.rst @@ -15,7 +15,7 @@ standard library of your local installation: .. code:: bash - [lark]$ python -m examples.python_parser + [lark]$ python -m examples.advanced.python_parser Beginner Examples ~~~~~~~~~~~~~~~~~ diff --git a/examples/advanced/error_puppet.py b/examples/advanced/error_puppet.py index 36c14c4..1b1bfbc 100644 --- a/examples/advanced/error_puppet.py +++ b/examples/advanced/error_puppet.py @@ -12,7 +12,7 @@ you can resume the run by returning True. from lark import Token -from _json_parser import json_parser +from examples.advanced._json_parser import json_parser def ignore_errors(e): if e.token.type == 'COMMA':