Organize top-level imports for lalib.elements

- make `GF2`, `one`, and `zero`, defined in the `lalib.elements.gf2`
  module, available as top-level imports in the `lalib.elements`
  sub-package via `from lalib.elements import *`
- provide some code snippets in the sub-package's docstring
- test the star import
This commit is contained in:
Alexander Hess 2024-09-18 18:29:40 +02:00
commit 3cfc0db136
Signed by: alexander
GPG key ID: 344EA5AB10D868E0
3 changed files with 53 additions and 1 deletions

View file

@ -14,6 +14,7 @@ import xdoctest
"module",
[
"lalib",
"lalib.elements",
"lalib.elements.gf2",
],
)