fixes typos

This commit is contained in:
ricardo.bartels@telekom.de
2024-11-20 22:05:52 +01:00
parent 3c07a4c001
commit 29b0296ef0
12 changed files with 71 additions and 70 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ def parse_command_line(self_description=None):
Parameters
----------
self_description: str
short self description of this program
short self-description of this program
Returns
-------
+2 -2
View File
@@ -15,7 +15,7 @@ def grab(structure=None, path=None, separator=".", fallback=None):
"""
get data from a complex object/json structure with a
"." separated path information. If a part of a path
is not not present then this function returns the
is not present then this function returns the
value of fallback (default: "None").
example structure:
@@ -38,7 +38,7 @@ def grab(structure=None, path=None, separator=".", fallback=None):
Parameters
----------
structure: dict, list, object
object structure to extract data from
an object structure to extract data from
path: str
nested path to extract
separator: str
+2 -2
View File
@@ -51,9 +51,9 @@ def perform_ptr_lookups(ips, dns_servers=None):
Parameters
----------
ips: list
list of IP addresses to look up
a list of IP addresses to look up
dns_servers: list
list of DNS servers to use to look up list of IP addresses
a list of DNS servers to use to look up list of IP addresses
Returns
-------