Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite6bc82a

Browse files
committed
Revert f-string
- Keep the convention as other methods.
1 parente91347d commite6bc82a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎Lib/zipfile/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1709,7 +1709,8 @@ def remove(self, zinfo_or_arcname):
17091709
zinfo=zinfo_or_arcname
17101710
# make sure zinfo exists
17111711
ifzinfonotinself.filelist:
1712-
raiseKeyError(f'There is no item{zinfo!r} in the archive')
1712+
raiseKeyError(
1713+
'There is no item %r in the archive'%zinfo_or_arcname)
17131714
else:
17141715
# get the info object
17151716
zinfo=self.getinfo(zinfo_or_arcname)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp