Skip to content

Commit 24971df

Browse files
committed
typevar to placate flake8
1 parent 7054e81 commit 24971df

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

mtl/parser.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
# -*- coding: utf-8 -*-
22
import operator as op
33
from functools import partialmethod, reduce
4+
from typing import TypeVar
45

56
from parsimonious import Grammar, NodeVisitor
67
from mtl import ast
78
from mtl import sugar
89

10+
11+
MTL = TypeVar("MTL")
12+
13+
914
MTL_GRAMMAR = Grammar(u'''
1015
phi = (neg / paren_phi / next / bot / top
1116
/ xor_outer / iff_outer / implies_outer / and_outer / or_outer

0 commit comments

Comments
 (0)