@@ -130,7 +130,7 @@ cdef class fmpz_mod_poly_ctx:
130130 """
131131 cdef slong length
132132 if not (isinstance (monic, bool ) and isinstance (irreducible, bool )):
133- raise ValueError (" Both ` monic` and ` irreducible` must be of type bool" )
133+ raise ValueError (" Both ' monic' and ' irreducible' must be of type bool" )
134134
135135 length = degree + 1
136136 if length <= 0 :
@@ -292,7 +292,7 @@ cdef class fmpz_mod_poly_ctx:
292292 for i in range (n):
293293 check = self .mod.set_any_as_fmpz_mod(& xs.val[i], vals[i])
294294 if check is NotImplemented :
295- raise ValueError (f" Unable to cast {vals[i]} to an ` fmpz_mod` " )
295+ raise ValueError (f" Unable to cast {vals[i]} to an ' fmpz_mod' " )
296296
297297 res = self .new_ctype_poly()
298298 fmpz_mod_poly_minpoly(res.val, xs.val, n, self .mod.val)
@@ -482,7 +482,7 @@ cdef class fmpz_mod_poly(flint_poly):
482482 # Case when right is not fmpz_mod_poly, try to convert to fmpz
483483 right = self .ctx.any_as_fmpz_mod_poly(right)
484484 if right is NotImplemented :
485- raise TypeError (f" Cannot convert {right} to ` fmpz_mod_poly` type." )
485+ raise TypeError (f" Cannot convert {right} to ' fmpz_mod_poly' type." )
486486
487487 if right == 0 :
488488 raise ZeroDivisionError (" Cannot divide by zero" )
@@ -765,7 +765,7 @@ cdef class fmpz_mod_poly(flint_poly):
765765 for i in range (n):
766766 check = self .ctx.mod.set_any_as_fmpz_mod(& xs.val[i], vals[i])
767767 if check is NotImplemented :
768- raise ValueError (f" Unable to cast {vals[i]} to an ` fmpz_mod` " )
768+ raise ValueError (f" Unable to cast {vals[i]} to an ' fmpz_mod' " )
769769
770770 # Call for multipoint eval, iterative horner will be used
771771 # for small arrays (len < 32) and a fast eval for larger ones
0 commit comments