We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af22800 commit 222aaedCopy full SHA for 222aaed
importlib_resources/_adapters.py
@@ -35,7 +35,7 @@ def _io_wrapper(file, mode='r', *args, **kwargs):
35
elif mode == 'rb':
36
return file
37
raise ValueError(
38
- "Invalid mode value '{}', only 'r' and 'rb' are supported".format(mode)
+ f"Invalid mode value '{mode}', only 'r' and 'rb' are supported"
39
)
40
41
0 commit comments