From fd5e9a0083bd0a39950079a6f08da9288e6cedc0 Mon Sep 17 00:00:00 2001 From: Kuba Sawulski Date: Mon, 7 Oct 2019 12:49:07 +0200 Subject: [PATCH] Docs bugs --- car/util.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/car/util.py b/car/util.py index e45ab26..1391680 100644 --- a/car/util.py +++ b/car/util.py @@ -1,10 +1,11 @@ """Car simulation utilities module - =============================== + """ + def mpsToKmph(speed): """Meter per second to kilometer per hour unit converter - + Parameters ---------- speed : multiplicable (float, numpy.array etc.) @@ -12,8 +13,8 @@ def mpsToKmph(speed): Returns ------- - as *speed* - Speed converted to km/h - + convertedSpeed : as *speed* + Speed converted to km/h """ - return speed*3.6 \ No newline at end of file + convertedSpeed = speed*3.6 + return convertedSpeed