Skip to content

Commit d7e9d31

Browse files
authored
Fix hexdump docstring. s should by bytes. (#1982)
1 parent 7a246e7 commit d7e9d31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pwnlib/util/fiddling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ def hexdump(s, width=16, skip=True, hexii=False, begin=0, style=None,
765765
Return a hexdump-dump of a string.
766766
767767
Arguments:
768-
s(str): The data to hexdump.
768+
s(bytes): The data to hexdump.
769769
width(int): The number of characters per line
770770
groupsize(int): The number of characters per group
771771
skip(bool): Set to True, if repeated lines should be replaced by a "*"

0 commit comments

Comments
 (0)