Browse Source

Start parameter now accepts unicode in Python 2 (Issue #459)

tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.7.8
Erez Sh 5 years ago
parent
commit
35e1029034
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lark/lark.py

+ 1
- 1
lark/lark.py View File

@@ -86,7 +86,7 @@ class LarkOptions(Serialize):

options[name] = value

if isinstance(options['start'], str):
if isinstance(options['start'], STRING_TYPE):
options['start'] = [options['start']]

self.__dict__['options'] = options


Loading…
Cancel
Save