Changeset 04f6a4 in git for modules/openmathserver/cd.py


Ignore:
Timestamp:
Jun 15, 2005, 12:37:39 PM (18 years ago)
Author:
Michael Brickenstein <bricken@…>
Branches:
(u'spielwiese', '91e5db82acc17434e4062bcfa44e6efa7d41fd30')
Children:
16678227fe277530e8904f607ce8e6128f93df2a
Parents:
c0124632d28789a5766a1280af3eab471d401852
Message:
*bricken: references and scopes work


git-svn-id: file:///usr/local/Singular/svn/trunk@8369 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/openmathserver/cd.py

    rc012463 r04f6a4  
    66        self.base=base
    77    def  __eq__(self, other):
    8         return (self.name==other.name) and (self.base==other.base)
     8        try:
     9            return (self.name==other.name) and (self.base==other.base)
     10        except:
     11            return False
    912    def __hash__(self):
    1013        return hash((self.name,self.base))
Note: See TracChangeset for help on using the changeset viewer.