1
0
forked from tdwojak/Python2017

labs04 z1

This commit is contained in:
s45148 2017-12-16 09:01:07 +01:00
parent 0884ab90a3
commit 293c616c4a

View File

@ -24,7 +24,8 @@ class Point:
return len(self.cor) return len(self.cor)
def __str__(self): def __str__(self):
return(str(self.cor)) return(str(self.cor))
def __to_string__(self):
return(str(self.cor))
class DimensionError(Exception): class DimensionError(Exception):
def __init__(self, text): def __init__(self, text):
self.text = text self.text = text