Modernize code to Python 3.6+ and some cleanup
This commit is contained in:
@@ -81,7 +81,7 @@ Tests of hashing:
|
||||
>>> v2 = Vector2d(3.1, 4.2)
|
||||
>>> hash(v1), hash(v2)
|
||||
(7, 384307168202284039)
|
||||
>>> len(set([v1, v2]))
|
||||
>>> len({v1, v2})
|
||||
2
|
||||
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user