Add Domain()
to top-level imports for lalib
Some checks failed
audit / audit (push) Has been cancelled
docs / docs (push) Has been cancelled
lint / lint (push) Has been cancelled
test-coverage / test-coverage (push) Has been cancelled
test-docstrings / test-docstrings (push) Has been cancelled
tests / test-3.10 (push) Has been cancelled
tests / test-3.11 (push) Has been cancelled
tests / test-3.12 (push) Has been cancelled
tests / test-3.13 (push) Has been cancelled
tests / test-3.9 (push) Has been cancelled
Some checks failed
audit / audit (push) Has been cancelled
docs / docs (push) Has been cancelled
lint / lint (push) Has been cancelled
test-coverage / test-coverage (push) Has been cancelled
test-docstrings / test-docstrings (push) Has been cancelled
tests / test-3.10 (push) Has been cancelled
tests / test-3.11 (push) Has been cancelled
tests / test-3.12 (push) Has been cancelled
tests / test-3.13 (push) Has been cancelled
tests / test-3.9 (push) Has been cancelled
This commit is contained in:
parent
4a5e316d0c
commit
aeca30b72e
1 changed files with 5 additions and 0 deletions
|
@ -22,6 +22,7 @@ one
|
||||||
|
|
||||||
from importlib import metadata
|
from importlib import metadata
|
||||||
|
|
||||||
|
from lalib import domains
|
||||||
from lalib import elements
|
from lalib import elements
|
||||||
from lalib import fields
|
from lalib import fields
|
||||||
|
|
||||||
|
@ -41,17 +42,21 @@ else:
|
||||||
del pkg_info
|
del pkg_info
|
||||||
|
|
||||||
|
|
||||||
|
Domain = domains.Domain
|
||||||
|
|
||||||
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
|
Q, R, C, GF2 = fields.Q, fields.R, fields.C, fields.GF2
|
||||||
|
|
||||||
|
|
||||||
|
del domains
|
||||||
del elements
|
del elements
|
||||||
del fields
|
del fields
|
||||||
del metadata
|
del metadata
|
||||||
|
|
||||||
|
|
||||||
__all__ = (
|
__all__ = (
|
||||||
|
"Domain",
|
||||||
"gf2",
|
"gf2",
|
||||||
"one",
|
"one",
|
||||||
"zero",
|
"zero",
|
||||||
|
|
Loading…
Reference in a new issue