mirror of https://github.com/flaggo/pydu.git
fix description error on network doc
This commit is contained in:
parent
774e6a5608
commit
0f932349ae
|
@ -29,9 +29,9 @@ Network
|
|||
Judge whether the given ``ip`` is IPV6 address.
|
||||
|
||||
>>> from pydu.network import is_ipv6
|
||||
>>> is_ipv4('fe80::9e5b:b149:e187:1a18')
|
||||
>>> is_ipv6('fe80::9e5b:b149:e187:1a18')
|
||||
True
|
||||
>>> is_ipv4('localhost.localdomain')
|
||||
>>> is_ipv6('localhost.localdomain')
|
||||
False
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue