Skip to content

Commit

Permalink
Remove non-standard __path__ modification.
Browse files Browse the repository at this point in the history
  • Loading branch information
oraluben authored and erezsh committed Sep 20, 2023
1 parent a2297d3 commit 91fbd5b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion lark/load_grammar.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
from .visitors import Transformer, Visitor, v_args, Transformer_InPlace, Transformer_NonRecursive
inline_args = v_args(inline=True)

__path__ = os.path.dirname(__file__)
IMPORT_PATHS = ['grammars']

EXT = '.lark'
Expand Down
1 change: 0 additions & 1 deletion tests/test_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@

__all__ = ['TestParsers']

__path__ = os.path.dirname(__file__)
def _read(n, *args):
with open(os.path.join(__path__, n), *args) as f:
return f.read()
Expand Down

0 comments on commit 91fbd5b

Please sign in to comment.