Legend:
- Unmodified
- Added
- Removed
-
sage/rings/polynomial/multi_polynomial_libsingular.pyx
r8645 r8721 515 515 516 516 if PY_TYPE_CHECK(element, basestring): 517 # let python do the theparsing517 # let python do the parsing 518 518 d = self.gens_dict() 519 519 if PY_TYPE_CHECK(self._base, FiniteField_givaro): … … 614 614 if is_Macaulay2Element(element): 615 615 return self(repr(element)) 616 617 try: 618 return self(str(element)) 619 except TypeError: 620 pass 616 621 617 622 # now try calling the base ring's __call__ methods
Note: See TracChangeset
for help on using the changeset viewer.
