From 9bbc5bfd137c4ca69782d8e0be97347e31bff422 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Bergstr=C3=B6m?= <davbe125@student.liu.se>
Date: Wed, 11 Jul 2018 11:06:10 +0200
Subject: [PATCH] Fix docstring on Unit.position

---
 python-api-src/lib_unit.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python-api-src/lib_unit.cpp b/python-api-src/lib_unit.cpp
index 22d1f34..358dbbb 100644
--- a/python-api-src/lib_unit.cpp
+++ b/python-api-src/lib_unit.cpp
@@ -6,7 +6,7 @@ void define_unit(py::module & m)
 {
     py::class_<Unit>(m, "Unit")
         .def_property_readonly("unit_type", &Unit::getType, "The :class:`library.UnitType` of the unit")
-        .def_property_readonly("position", &Unit::getPosition, "The class:`library.Point2D` of the unit")
+        .def_property_readonly("position", &Unit::getPosition, "The :class:`library.Point2D` of the unit")
         .def_property_readonly("tile_position", &Unit::getTilePosition, "The :class:`library.Point2DI` of the unit")
         .def_property_readonly("hit_points", &Unit::getHitPoints)
         .def_property_readonly("shields", &Unit::getShields)
-- 
GitLab