Ignore:
Timestamp:
05/04/07 12:41:56 (6 years ago)
Author:
Robert Bradshaw <robertwb@…>
Branch:
default
Children:
4458:a3317cf80025, 4459:40168aa49550
Message:

Fixed NameErrors? where undefined/un-imported names were used.

This means that none of the code touched here was tested by a doctest, or it would have failed. Write more doctests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sage/rings/real_rqdf.pyx

    r4286 r4457  
    772772        return res 
    773773     
    774     def __lshift__(x, y): 
     774    def __lshift__(self, n): 
    775775        """ 
    776776        LShifting a quad double is not supported     
    777777        """ 
    778         raise TypeError, "unsupported operand type(s) for <<: '%s' and '%s'"%(typeof(self), typeof(n)) 
    779  
    780     def __rshift__(x, y): 
     778        raise TypeError, "unsupported operand type(s) for <<: '%s' and '%s'"%(type(self), type(n)) 
     779 
     780    def __rshift__(self, n): 
    781781        """ 
    782782        RShifting a quad double is not supported 
    783783        """ 
    784         raise TypeError, "unsupported operand type(s) for >>: '%s' and '%s'"%(typeof(self), typeof(n)) 
     784        raise TypeError, "unsupported operand type(s) for >>: '%s' and '%s'"%(type(self), type(n)) 
    785785     
    786786    def multiplicative_order(self): 
Note: See TracChangeset for help on using the changeset viewer.