typevar to placate flake8
This commit is contained in:
parent
7054e81dde
commit
24971df0d6
1 changed files with 5 additions and 0 deletions
|
|
@ -1,11 +1,16 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
import operator as op
|
||||
from functools import partialmethod, reduce
|
||||
from typing import TypeVar
|
||||
|
||||
from parsimonious import Grammar, NodeVisitor
|
||||
from mtl import ast
|
||||
from mtl import sugar
|
||||
|
||||
|
||||
MTL = TypeVar("MTL")
|
||||
|
||||
|
||||
MTL_GRAMMAR = Grammar(u'''
|
||||
phi = (neg / paren_phi / next / bot / top
|
||||
/ xor_outer / iff_outer / implies_outer / and_outer / or_outer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue