Add fields to top-level imports for lalib
This commit is contained in:
parent
6bd21ce134
commit
849b786e13
1 changed files with 8 additions and 0 deletions
|
@ -23,6 +23,7 @@ one
|
||||||
from importlib import metadata
|
from importlib import metadata
|
||||||
|
|
||||||
from lalib import elements
|
from lalib import elements
|
||||||
|
from lalib import fields
|
||||||
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
@ -42,8 +43,11 @@ else:
|
||||||
|
|
||||||
gf2, one, zero = elements.gf2, elements.one, elements.zero
|
gf2, one, zero = elements.gf2, elements.one, elements.zero
|
||||||
|
|
||||||
|
Q, R, C, GF2 = fields.Q, fields.R, fields.C, fields.GF2
|
||||||
|
|
||||||
|
|
||||||
del elements
|
del elements
|
||||||
|
del fields
|
||||||
del metadata
|
del metadata
|
||||||
|
|
||||||
|
|
||||||
|
@ -51,4 +55,8 @@ __all__ = (
|
||||||
"gf2",
|
"gf2",
|
||||||
"one",
|
"one",
|
||||||
"zero",
|
"zero",
|
||||||
|
"Q",
|
||||||
|
"R",
|
||||||
|
"C",
|
||||||
|
"GF2",
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue