Skip to content

Commit 2c19420

Browse files
authored
STY: Remove slicing (#3229)
Increases readability.
1 parent facaae8 commit 2c19420

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pypdf/_cmap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ def parse_bfrange(
324324
fmt = b"%%0%dX" % (map_dict[-1] * 2)
325325
a = multiline_rg[0] # a, b not in the current line
326326
b = multiline_rg[1]
327-
for sq in lst[0:]:
327+
for sq in lst:
328328
if sq == b"]":
329329
closure_found = True
330330
break

0 commit comments

Comments
 (0)