Skip to content

Commit 3cc192f

Browse files
committed
Fix zipfile._Extra.split
1 parent 7b1010a commit 3cc192f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/zipfile/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def split(cls, data):
219219
# use memoryview for zero-copy slices
220220
rest = memoryview(data)
221221
while rest:
222-
extra, rest = _Extra.read_one(rest)
222+
extra, rest = cls.read_one(rest)
223223
yield extra
224224

225225
@classmethod

0 commit comments

Comments
 (0)