File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ cdef class flint_mpoly_context(flint_elem):
165165 return tuple (self .gen(i) for i in range (self .nvars()))
166166
167167 def variable_to_index (self , var: Union[int , str]):
168- """ Convert a variable name string or possible index to it's index in the context."""
168+ """ Convert a variable name string or possible index to its index in the context."""
169169 if isinstance (var, str ):
170170 vars = {x: i for i, x in enumerate (self .names())}
171171 if var not in vars :
Original file line number Diff line number Diff line change @@ -913,7 +913,7 @@ cdef class fmpq_mpoly(flint_mpoly):
913913 def integral (self , var ):
914914 """
915915 Return the integral of this polynomial*B with respect to the provided variable
916- where B is minimal. The argument and either be the variable as a string, or
916+ where B is minimal. The argument can either be the variable as a string, or
917917 the index of the variable in the context.
918918
919919 >>> from flint import Ordering
Original file line number Diff line number Diff line change @@ -925,7 +925,7 @@ cdef class fmpz_mpoly(flint_mpoly):
925925 def integral (self , var ):
926926 """
927927 Return the integral of this polynomial*B with respect to the provided variable
928- where B is minimal. The argument and either be the variable as a string, or
928+ where B is minimal. The argument can either be the variable as a string, or
929929 the index of the variable in the context.
930930
931931 >>> from flint import Ordering
You can’t perform that action at this time.
0 commit comments