Commit c96ef5e2 authored by Thomas Albrecht's avatar Thomas Albrecht

deprecated call message

parent b963bcec
......@@ -69,6 +69,7 @@ class vec2d(object):
return vec2d(self.x < other.x, self.y < other.y)
def list(self):
print "deprecated call to vec2d.list(). Use __iter__ instead."
return self.x, self.y
def __iter__(self):
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment