Skip to content

Commit e175854

Browse files
committed
Typos
1 parent bc61ca9 commit e175854

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/flint/flint_base/flint_base.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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:

src/flint/types/fmpq_mpoly.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

src/flint/types/fmpz_mpoly.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)