Skip to content

Commit

Permalink
Fix hexdump docstring. s should by bytes. (Gallopsled#1982)
Browse files Browse the repository at this point in the history
  • Loading branch information
justinsteven authored and vboxuser committed Sep 10, 2023
1 parent 5dee2cf commit 1d9a3ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pwnlib/util/fiddling.py
Expand Up @@ -765,7 +765,7 @@ def hexdump(s, width=16, skip=True, hexii=False, begin=0, style=None,
Return a hexdump-dump of a string.
Arguments:
s(str): The data to hexdump.
s(bytes): The data to hexdump.
width(int): The number of characters per line
groupsize(int): The number of characters per group
skip(bool): Set to True, if repeated lines should be replaced by a "*"
Expand Down

0 comments on commit 1d9a3ba

Please sign in to comment.