Skip to content

Commit

Permalink
Remove unused variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
da4089 committed Oct 28, 2024
1 parent 1f92ad6 commit 9d627a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xdrlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9d627a3

Please sign in to comment.