Skip to content

Commit c4d9f66

Browse files
committed
Comment out fmpz_poly.hilbert_class doctests
1 parent d6cb3c9 commit c4d9f66

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/flint/types/fmpz_poly.pyx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -614,20 +614,20 @@ cdef class fmpz_poly(flint_poly):
614614
return u
615615

616616
@staticmethod
617-
def hilbert_class_poly(long D):
617+
def hilbert_class_poly(slong D):
618618
r"""
619619
Returns the Hilbert class polynomial `H_D(x)` as an *fmpz_poly*.
620620
621-
>>> fmpz_poly.hilbert_class_poly(-3)
622-
x
623-
>>> fmpz_poly.hilbert_class_poly(-4)
624-
x + (-1728)
625-
>>> fmpz_poly.hilbert_class_poly(-59)
626-
x^3 + 30197678080*x^2 + (-140811576541184)*x + 374643194001883136
627-
>>> fmpz_poly.hilbert_class_poly(-5)
628-
Traceback (most recent call last):
629-
...
630-
ValueError: D must be an imaginary quadratic discriminant
621+
# >>> fmpz_poly.hilbert_class_poly(-3)
622+
# x
623+
# >>> fmpz_poly.hilbert_class_poly(-4)
624+
# x + (-1728)
625+
# >>> fmpz_poly.hilbert_class_poly(-59)
626+
# x^3 + 30197678080*x^2 + (-140811576541184)*x + 374643194001883136
627+
# >>> fmpz_poly.hilbert_class_poly(-5)
628+
# Traceback (most recent call last):
629+
# ...
630+
# ValueError: D must be an imaginary quadratic discriminant
631631
"""
632632
cdef fmpz_poly v = fmpz_poly()
633633
acb_modular_hilbert_class_poly(v.val, D)

0 commit comments

Comments
 (0)