Commit 17f7fd27 authored by Manuel Franceschini's avatar Manuel Franceschini

Fix a few epydoc docstrings

Signed-off-by: default avatarManuel Franceschini <livewire@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 8f9069e5
......@@ -71,7 +71,7 @@ def GetHostname(name=None, family=None):
@param family: AF_INET | AF_INET6 | None
@rtype: L{Hostname}
@return: Hostname object
@raise: errors.OpPrereqError
@raise errors.OpPrereqError: in case of errors in resolving
"""
try:
......@@ -425,7 +425,7 @@ class IP4Address(IPAddress):
"""Get integer value of IPv4 address.
@type address: str
@param: IPv6 address
@param address: IPv6 address
@rtype: int
@return: integer value of given IP address
......@@ -465,7 +465,7 @@ class IP6Address(IPAddress):
"""Get integer value of IPv6 address.
@type address: str
@param: IPv6 address
@param address: IPv6 address
@rtype: int
@return: integer value of given IP address
......
......@@ -266,8 +266,8 @@ def _AddressLookup(node_list,
@param node_list: List of node names
@type ssc: class
@param ssc: SimpleStore class that is used to obtain node->ip mappings
@type lookup_fn: callable
@param lookup_fn: function use to do NS lookup
@type nslookup_fn: callable
@param nslookup_fn: function use to do NS lookup
@rtype: list of addresses and/or None's
@returns: List of corresponding addresses, if found
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment