{,_}tools→{,_}utils
In context of nMigen, "tools" means "parts of toolchain", so it is confusing to have a completely unrelated module also called "tools".
This commit is contained in:
parent
ccd28b40c2
commit
2f9dab361f
39 changed files with 43 additions and 43 deletions
|
|
@ -8,7 +8,7 @@ from collections.abc import Iterable, MutableMapping, MutableSet, MutableSequenc
|
|||
from enum import Enum
|
||||
|
||||
from .. import tracer
|
||||
from .._tools import *
|
||||
from .._utils import *
|
||||
|
||||
|
||||
__all__ = [
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ from contextlib import contextmanager
|
|||
from enum import Enum
|
||||
import warnings
|
||||
|
||||
from .._tools import flatten, bits_for, deprecated
|
||||
from .._utils import flatten, bits_for, deprecated
|
||||
from .. import tracer
|
||||
from .ast import *
|
||||
from .ir import *
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import warnings
|
|||
import traceback
|
||||
import sys
|
||||
|
||||
from .._tools import *
|
||||
from .._utils import *
|
||||
from .ast import *
|
||||
from .cd import *
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ from collections import OrderedDict
|
|||
from functools import reduce
|
||||
|
||||
from .. import tracer
|
||||
from .._tools import union, deprecated
|
||||
from .._utils import union, deprecated
|
||||
from .ast import *
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ from abc import ABCMeta, abstractmethod
|
|||
from collections import OrderedDict
|
||||
from collections.abc import Iterable
|
||||
|
||||
from .._tools import flatten, deprecated
|
||||
from .._utils import flatten, deprecated
|
||||
from .. import tracer
|
||||
from .ast import *
|
||||
from .ast import _StatementList
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue