From 9d627a33492013793e00dae68268fdf4e3a279b5 Mon Sep 17 00:00:00 2001 From: David Arnold Date: Mon, 28 Oct 2024 11:51:56 +0000 Subject: [PATCH] Remove unused variable. --- xdrlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xdrlib.py b/xdrlib.py index 3f3591a..f8105a7 100644 --- a/xdrlib.py +++ b/xdrlib.py @@ -389,7 +389,7 @@ def unpack_farray(self, n: int, unpack_item: typing.Callable) -> typing.Sequence :param n: Integer number of elements :param unpack_item: Function to decode items""" seq = [] - for i in range(n): + for _ in range(n): seq.append(unpack_item()) return seq