forked from tdwojak/Python2017
labs04 z1
This commit is contained in:
parent
0884ab90a3
commit
293c616c4a
@ -24,7 +24,8 @@ class Point:
|
||||
return len(self.cor)
|
||||
def __str__(self):
|
||||
return(str(self.cor))
|
||||
|
||||
def __to_string__(self):
|
||||
return(str(self.cor))
|
||||
class DimensionError(Exception):
|
||||
def __init__(self, text):
|
||||
self.text = text
|
||||
|
Loading…
Reference in New Issue
Block a user