From c5f158fd2511128e2e7b8480a511ffd02893ad5a Mon Sep 17 00:00:00 2001 From: Zen-CODE Date: Wed, 28 Jan 2015 20:52:10 +0200 Subject: [PATCH] doc: revisions to vector.py --- kivy/vector.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kivy/vector.py b/kivy/vector.py index 9032558a8..7711681f6 100644 --- a/kivy/vector.py +++ b/kivy/vector.py @@ -2,9 +2,9 @@ ====== The :class:`Vector` represents a 2D vector (x, y). -Our implementation is made on top of a Python list. +Our implementation is built on top of a Python list. -Example for constructing a Vector:: + An example of constructing a Vector:: >>> # Construct a point at 82,34 >>> v = Vector(82, 34) @@ -52,7 +52,7 @@ points:: Vector operators ---------------- -The :class:`Vector` supports some numeric operators like +, -, /:: +The :class:`Vector` supports some numeric operators such as +, -, /:: >>> Vector(1, 1) + Vector(9, 5) [10, 6] @@ -67,7 +67,7 @@ The :class:`Vector` supports some numeric operators like +, -, /:: [2.0, 2.0] -You can also do in-place operations:: +You can also use in-place operators:: >>> v = Vector(1, 1) >>> v += 2