Skip to content

Commit e91347d

Browse files
committed
Fix bad f-string conversion in d3f9190
1 parent 2178fa4 commit e91347d

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
@@ -1709,7 +1709,7 @@ def remove(self, zinfo_or_arcname):
17091709
zinfo = zinfo_or_arcname
17101710
# make sure zinfo exists
17111711
if zinfo not in self.filelist:
1712-
raise KeyError(f'There is no item {zinfo:r} in the archive')
1712+
raise KeyError(f'There is no item {zinfo!r} in the archive')
17131713
else:
17141714
# get the info object
17151715
zinfo = self.getinfo(zinfo_or_arcname)

0 commit comments

Comments
 (0)