fixing typos

This commit is contained in:
Julian Perez Ramirez 2024-11-07 11:25:18 +01:00
parent 9fb47fa962
commit 9bd3c3f998

View File

@ -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]