Skip to content

Commit

Permalink
Fix typos in bandwidth.py (#437)
Browse files Browse the repository at this point in the history
  • Loading branch information
vivekvashist authored Jan 9, 2024
1 parent 9f4d2df commit f286fed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions netutils/bandwidth.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f286fed

Please sign in to comment.