Ignore:
Timestamp:
11/19/07 19:11:36 (6 years ago)
Author:
Alexandru Ghitza <aghitza@…>
Branch:
default
Message:

trac issue #1186: somewhat clueless "fix"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sage/rings/polynomial/multi_polynomial_libsingular.pyx

    r8645 r8721  
    515515         
    516516        if PY_TYPE_CHECK(element, basestring): 
    517             # let python do the the parsing 
     517            # let python do the parsing 
    518518            d = self.gens_dict() 
    519519            if PY_TYPE_CHECK(self._base, FiniteField_givaro): 
     
    614614        if is_Macaulay2Element(element): 
    615615            return self(repr(element)) 
     616 
     617        try: 
     618            return self(str(element)) 
     619        except TypeError: 
     620            pass 
    616621 
    617622        # now try calling the base ring's __call__ methods 
Note: See TracChangeset for help on using the changeset viewer.