We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 313521d commit a38c4bdCopy full SHA for a38c4bd
bittensor/utils/networking.py
@@ -34,7 +34,7 @@ def int_to_ip(int_val: int) -> str:
34
def ip_to_int(str_val: str) -> int:
35
"""Maps an ip-string to a unique integer.
36
arg:
37
- str_val (:tyep:`str`, `required):
+ str_val (:type:`str`, `required):
38
The string representation of an ip. Of form *.*.*.* for ipv4 or *::*:*:*:* for ipv6
39
40
Returns:
@@ -51,7 +51,7 @@ def ip_to_int(str_val: str) -> int:
51
def ip_version(str_val: str) -> int:
52
"""Returns the ip version (IPV4 or IPV6).
53
54
55
56
57
0 commit comments