From ec906ee9d39a7a5e528a1455aae435ad31ab4b16 Mon Sep 17 00:00:00 2001 From: Justin Steven Date: Thu, 7 Oct 2021 23:30:42 +1000 Subject: [PATCH] Fix unpack() signature --- pwnlib/util/packing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwnlib/util/packing.py b/pwnlib/util/packing.py index c38721e09..3a824fdfb 100644 --- a/pwnlib/util/packing.py +++ b/pwnlib/util/packing.py @@ -165,7 +165,7 @@ def pack(number, word_size = None, endianness = None, sign = None, **kwargs): return b''.join(reversed(out)) @LocalNoarchContext -def unpack(data, word_size = None, endianness = None, sign = None, **kwargs): +def unpack(data, word_size = None, **kwargs): r"""unpack(data, word_size = None, endianness = None, sign = None, **kwargs) -> int Packs arbitrary-sized integer.