Skip to content

Commit fb5ddeb

Browse files
committed
⚫ Fade to black.
1 parent 4025963 commit fb5ddeb

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

importlib_resources/_common.py

+8-4
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,14 @@ def from_package(package):
6767

6868

6969
@contextlib.contextmanager
70-
def _tempfile(reader, suffix='',
71-
# gh-93353: Keep a reference to call os.remove() in late Python
72-
# finalization.
73-
*, _os_remove=os.remove):
70+
def _tempfile(
71+
reader,
72+
suffix='',
73+
# gh-93353: Keep a reference to call os.remove() in late Python
74+
# finalization.
75+
*,
76+
_os_remove=os.remove,
77+
):
7478
# Not using tempfile.NamedTemporaryFile as it leads to deeper 'try'
7579
# blocks due to the need to close the temporary file to work on Windows
7680
# properly.

0 commit comments

Comments
 (0)