Skip to content

Commit

Permalink
clarified return type
Browse files Browse the repository at this point in the history
  • Loading branch information
pmara-r7 committed Sep 22, 2021
1 parent 79ad968 commit f394712
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/metasploit/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def convert_bytes_to_string(bytes_dict: dict) -> dict:
def convert_val(bytes_obj: iter):
"""
:param bytes_obj: some object containing either string or byte values, can be collection or just bytes
:return: object containing original strings and converted bytes to strings
:return: iterable object (tuple or list) containing original strings and converted bytes to strings
"""
for index, item in enumerate(bytes_obj):
if isinstance(item, bytes):
Expand Down

0 comments on commit f394712

Please sign in to comment.