@@ -438,7 +438,7 @@ cdef class flint_mpoly_context(flint_elem):
438438 Create a monomial from a coefficient and exponent vector. ``coeff`` defaults
439439 to ``1``. ``exp_vec``` defaults to ``(0,) * self.nvars()```.
440440
441- >>> from flint import fmpz_mpoly_ctx, Ordering
441+ >>> from flint import fmpz_mpoly_ctx
442442 >>> ctx = fmpz_mpoly_ctx.get(('x', 2), 'lex')
443443 >>> ctx.term(coeff=5, exp_vec=(2, 3))
444444 5*x0^2*x1^3
@@ -839,7 +839,7 @@ cdef class flint_mpoly(flint_elem):
839839 """
840840 Returns True if ``self`` contains a term with exponent vector ``x`` and a non-zero coefficient.
841841
842- >>> from flint import fmpq_mpoly_ctx, Ordering
842+ >>> from flint import fmpq_mpoly_ctx
843843 >>> ctx = fmpq_mpoly_ctx.get(('x', 2), 'lex')
844844 >>> p = ctx.from_dict({(0, 1): 2, (1, 1): 3})
845845 >>> (1, 1) in p
@@ -860,7 +860,7 @@ cdef class flint_mpoly(flint_elem):
860860 """
861861 Return the exponent vectors and coefficient of each term.
862862
863- >>> from flint import fmpq_mpoly_ctx, Ordering
863+ >>> from flint import fmpq_mpoly_ctx
864864 >>> ctx = fmpq_mpoly_ctx.get(('x', 2), 'lex')
865865 >>> f = ctx.from_dict({(0, 0): 1, (1, 0): 2, (0, 1): 3, (1, 1): 4})
866866 >>> list(f.terms())
0 commit comments