Skip to content

Commit

Permalink
Made PYVERSION declaration part of core utilities.
Browse files Browse the repository at this point in the history
  • Loading branch information
kc611 committed Dec 7, 2023
1 parent 40481aa commit 635bfd4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 2 additions & 0 deletions numba_rvsdg/core/utils.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import logging
import sys

_logger = logging.getLogger(__name__)

PYVERSION = sys.version_info[:2]

class _LogWrap:
def __init__(self, fn): # type: ignore
Expand Down
5 changes: 1 addition & 4 deletions numba_rvsdg/tests/simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,9 @@
RegionBlock,
SyntheticBlock,
)
from numba_rvsdg.core.utils import PYVERSION

import builtins
import sys

PYVERSION = sys.version_info[:2]


class Simulator:
"""SCFG simulator.
Expand Down

0 comments on commit 635bfd4

Please sign in to comment.