Skip to content

Commit a38c4bd

Browse files
authored
fix typos
1 parent 313521d commit a38c4bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bittensor/utils/networking.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def int_to_ip(int_val: int) -> str:
3434
def ip_to_int(str_val: str) -> int:
3535
"""Maps an ip-string to a unique integer.
3636
arg:
37-
str_val (:tyep:`str`, `required):
37+
str_val (:type:`str`, `required):
3838
The string representation of an ip. Of form *.*.*.* for ipv4 or *::*:*:*:* for ipv6
3939
4040
Returns:
@@ -51,7 +51,7 @@ def ip_to_int(str_val: str) -> int:
5151
def ip_version(str_val: str) -> int:
5252
"""Returns the ip version (IPV4 or IPV6).
5353
arg:
54-
str_val (:tyep:`str`, `required):
54+
str_val (:type:`str`, `required):
5555
The string representation of an ip. Of form *.*.*.* for ipv4 or *::*:*:*:* for ipv6
5656
5757
Returns:

0 commit comments

Comments
 (0)