Skip to content
Snippets Groups Projects
Commit 17f7fd27 authored by Manuel Franceschini's avatar Manuel Franceschini
Browse files

Fix a few epydoc docstrings


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