From 07aa03a2980823b1ceb86960278c7a7ce489a2ba Mon Sep 17 00:00:00 2001 From: Vivek Vashist Date: Tue, 9 Jan 2024 20:45:13 +1030 Subject: [PATCH] Fix typos in bandwidth.py --- netutils/bandwidth.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netutils/bandwidth.py b/netutils/bandwidth.py index 0c29f5b1..c8983d94 100644 --- a/netutils/bandwidth.py +++ b/netutils/bandwidth.py @@ -192,11 +192,11 @@ def bytes_to_name(speed: float, nbr_decimal: int = 0) -> str: def name_to_name(speed: str, speed_type: str, nbr_decimal: int = 0) -> str: - """Method to convert a short bandwidth name to another bandwdth name. + """Method to convert a short bandwidth name to another bandwidth name. Args: speed: Bandwidth to be converted like `100GBps`. - speed_type: Name to convert the bandwdth to like `MBps`. + speed_type: Name to convert the bandwidth to like `MBps`. nbr_decimal: Precision of end result, ie number of decimal points to round to. Defaults to 0. Returns: