From a52160ad7bb6fe9056818184aadf8362cce1eca6 Mon Sep 17 00:00:00 2001 From: Nicolas Braud-Santoni Date: Sat, 23 Mar 2019 23:31:38 +0100 Subject: [PATCH] Vector2: Add cross-references to the relevant protocols in docstring --- ppb_vector/vector2.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ppb_vector/vector2.py b/ppb_vector/vector2.py index 94841603..6533cf40 100644 --- a/ppb_vector/vector2.py +++ b/ppb_vector/vector2.py @@ -63,8 +63,9 @@ class Vector2: :py:class:`Vector2` implements many convenience features, as well as useful mathematical operations for 2D geometry and linear algebra. - :py:class:`Vector2` acts as an iterable and sequence, allowing usage like - unpacking and indexing: + :py:class:`Vector2` implements :py:class:`Sequence + ` (and subsequently :py:class:`Iterable + `), allowing usage like unpacking and indexing: >>> x, y = Vector2(1, 2) >>> x