Skip to content

Commit

Permalink
Vector2: Remove superfluous _length attribute
Browse files Browse the repository at this point in the history
5224a2e removed its use
(for memoizing length computations)
  • Loading branch information
nbraud committed Dec 6, 2018
1 parent eb6e40c commit 513bef2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ppb_vector/vector2.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ def _find_lowest_vector(left: typing.Type, right: typing.Type) -> typing.Type:
class Vector2:
x: float
y: float
_length: float

def __init__(self, x: typing.SupportsFloat, y: typing.SupportsFloat):
try:
Expand Down

0 comments on commit 513bef2

Please sign in to comment.