_tools: extract most utility methods to a private package.

We don't want to guarantee backwards compatibility for most of them.
This commit is contained in:
whitequark 2019-10-12 22:27:43 +00:00
parent a97003d57a
commit da48c05bdf
22 changed files with 106 additions and 103 deletions

View file

@ -1,4 +1,4 @@
from ...tools import _ignore_deprecated
from ..._tools import _ignore_deprecated
from ...compat import *
from ...compat.fhdl import verilog

View file

@ -1,6 +1,6 @@
import unittest
from ...tools import _ignore_deprecated
from ..._tools import _ignore_deprecated
from ...compat import *

View file

@ -1,7 +1,7 @@
from contextlib import contextmanager
from .tools import *
from ..tools import flatten, union
from .._tools import flatten, union
from ..hdl.ast import *
from ..hdl.cd import *
from ..hdl.mem import *