blob: a8bd8c70d85b55ec77125a640d0edfc06b2eecba (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
class DataType(object):
def __init__(self, name):
self.name = name
def __str__(self):
return self.name
def __repr__(self):
return "<DataType: %s>" % self
DataType.INT = DataType("INT")
DataType.BOOL = DataType("BOOL")
|