update from Atlas

This commit is contained in:
Luciano Ramalho
2014-12-30 15:53:07 -02:00
parent 691113636f
commit 174e952b2c
14 changed files with 426 additions and 10 deletions

View File

@@ -211,8 +211,8 @@ class Vector:
return self._components[pos]
msg = '{.__name__!r} object has no attribute {!r}' # <5>
raise AttributeError(msg.format(cls, name))
# END VECTOR_V3_GETATTR
# BEGIN VECTOR_V3_SETATTR
def __setattr__(self, name, value):
cls = type(self)