Skip to content

Commit

Permalink
Merge pull request #4 from zubairakram/patch-1
Browse files Browse the repository at this point in the history
Update __init__.py
  • Loading branch information
sergeche authored Oct 19, 2022
2 parents 4da5461 + a1044a3 commit 0ea2d9b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions emmet/abbreviation/tokenizer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
from .utils import Chars, escaped
from . import tokens

OPERATOR_TYPES = dict([
(Chars.Child, 'child'),
(Chars.Sibling, 'sibling'),
(Chars.Climb, 'climb'),
(Chars.Dot, 'class'),
(Chars.Hash, 'id'),
(Chars.Slash, 'close'),
(Chars.Equals, 'equal')
])
OPERATOR_TYPES = {
Chars.Child: 'child',
Chars.Sibling: 'sibling',
Chars.Climb: 'climb',
Chars.Dot: 'class',
Chars.Hash: 'id',
Chars.Slash: 'close',
Chars.Equals: 'equal'
}


def tokenize(source: str):
Expand Down

0 comments on commit 0ea2d9b

Please sign in to comment.