We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2178fa4 commit e91347dCopy full SHA for e91347d
Lib/zipfile/__init__.py
@@ -1709,7 +1709,7 @@ def remove(self, zinfo_or_arcname):
1709
zinfo = zinfo_or_arcname
1710
# make sure zinfo exists
1711
if zinfo not in self.filelist:
1712
- raise KeyError(f'There is no item {zinfo:r} in the archive')
+ raise KeyError(f'There is no item {zinfo!r} in the archive')
1713
else:
1714
# get the info object
1715
zinfo = self.getinfo(zinfo_or_arcname)
0 commit comments