Skip to content
Snippets Groups Projects
Commit 25762220 authored by Thomas Gibson's avatar Thomas Gibson
Browse files

Move sys import to top of module

parent 21ea34ce
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,7 @@ from meshmode.discretization.connection import \
from meshmode.mesh import \
BTAG_PARTITION, BTAG_ALL, BTAG_REALLY_ALL, BTAG_NONE
from warnings import warn
import sys
__doc__ = """
......@@ -320,8 +321,6 @@ def __getattr__(name):
raise AttributeError(f"module {__name__} has no attribute {name}")
import sys
if sys.version_info < (3, 7):
QTAG_NONE = DISCR_TAG_BASE
QTAG_MODAL = DISCR_TAG_MODAL
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment