From 9bd3c3f998f6ae1c5d2399116ec48ec7a4642b08 Mon Sep 17 00:00:00 2001 From: Julian Perez Ramirez Date: Thu, 7 Nov 2024 11:25:18 +0100 Subject: [PATCH] fixing typos --- electronics/star_delta_transform.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/electronics/star_delta_transform.py b/electronics/star_delta_transform.py index 62dc925fc..b4c940e62 100644 --- a/electronics/star_delta_transform.py +++ b/electronics/star_delta_transform.py @@ -20,7 +20,7 @@ from unittest import mock def delta_to_wye(r: list) -> dict: """ - >>> from_delta_to_wye([2.0, 3.0, 4.0]) + >>> delta_to_wye([2.0, 3.0, 4.0]) {'r1': 1.3333333333333333, 'r2': 0.8888888888888888, 'r3': 0.6666666666666666} """ r_wye: dict = {} @@ -33,7 +33,7 @@ def delta_to_wye(r: list) -> dict: def wye_to_delta(r: list) -> dict: """ - >>> from_wye_to_delta([2.0, 3.0, 4.0]) + >>> wye_to_delta([2.0, 3.0, 4.0]) {'ra': 13.0, 'rb': 8.666666666666666, 'rc': 6.5} """ r1, r2, r3 = r[0], r[1], r[2]