Skip to content

Commit 876fd2a

Browse files
committed
move docstring
1 parent e32a6dd commit 876fd2a

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/flint/types/fq_default.pxd

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@ from flint.flintlib.fq cimport fq_is_primitive, fq_multiplicative_order
55
from flint.types.fmpz cimport fmpz
66
from flint.flint_base.flint_base cimport flint_scalar
77

8-
"""
9-
Enum for the fq_default context types:
10-
11-
- 1. `fq_default_ctx.FQ_ZECH`: Use `fq_zech_t`,
12-
- 2. `fq_default_ctx.FQ_NMOD`: Use `fq_nmod_t`,
13-
- 3. `fq_default_ctx.FQ`: Use `fq_t`.
14-
- 4. `fq_default_ctx.NMOD`: Use `nmod` for degree = 1,
15-
- 5. `fq_default_ctx.FMPZ_MOD`: Use `fmpz_mod` for degree = 1.
16-
17-
These can be manually selected, or type: `fq_default_ctx.DEFAULT` can be used
18-
for the implementation to be automatically decided by Flint (default),
19-
"""
208
cpdef enum fq_default_type:
9+
"""
10+
Enum for the fq_default context types:
11+
12+
- 1. `fq_default_ctx.FQ_ZECH`: Use `fq_zech_t`,
13+
- 2. `fq_default_ctx.FQ_NMOD`: Use `fq_nmod_t`,
14+
- 3. `fq_default_ctx.FQ`: Use `fq_t`.
15+
- 4. `fq_default_ctx.NMOD`: Use `nmod` for degree = 1,
16+
- 5. `fq_default_ctx.FMPZ_MOD`: Use `fmpz_mod` for degree = 1.
17+
18+
These can be manually selected, or type: `fq_default_ctx.DEFAULT` can be used
19+
for the implementation to be automatically decided by Flint (default),
20+
"""
2121
DEFAULT = 0
2222
FQ_ZECH = 1
2323
FQ_NMOD = 2

0 commit comments

Comments
 (0)