diff options
Diffstat (limited to 'TurtleArt/tatype.py')
-rw-r--r-- | TurtleArt/tatype.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/TurtleArt/tatype.py b/TurtleArt/tatype.py index 46c5921..78cbcc3 100644 --- a/TurtleArt/tatype.py +++ b/TurtleArt/tatype.py @@ -21,7 +21,6 @@ """ type system for Primitives and their arguments """ import ast -from gettext import gettext as _ from tablock import Media from taconstants import (Color, CONSTANTS) @@ -43,8 +42,7 @@ class Type(object): if other is None: return False if not isinstance(other, Type): - raise TypeError("cannot compare Type to object of type " + - repr(type(other))) + return False return self.value == other.value def __str__(self): |