Skip to content

Commit

Permalink
Vector2.truncate: Eliminate invalid escape sequence in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
nbraud committed Mar 26, 2019
1 parent 72bdb04 commit 99227a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ppb_vector/vector2.py
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ def truncate(self: Vector, max_length: typing.SupportsFloat) -> Vector:
Note that :py:meth:`vector.scale(max_length) <scale>` is equivalent to
:py:meth:`vector.truncate(max_length) <truncate>` when
:py:meth:`max_length \< vector.length <length>`.
:py:meth:`max_length < vector.length <length>`.
>>> Vector2(3, 4).scale(4)
Vector2(2.4, 3.2)
Expand Down

0 comments on commit 99227a7

Please sign in to comment.