From d84ca376316016420297fbc310ba181ca7d2864d Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Mon, 2 Sep 2024 08:22:16 -0400 Subject: [PATCH] Fix typo in _temp_path comment. Ref python/cpython#123597 --- importlib_resources/_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/importlib_resources/_common.py b/importlib_resources/_common.py index 7071511..f065d49 100644 --- a/importlib_resources/_common.py +++ b/importlib_resources/_common.py @@ -183,7 +183,7 @@ def _(path): @contextlib.contextmanager def _temp_path(dir: tempfile.TemporaryDirectory): """ - Wrap tempfile.TemporyDirectory to return a pathlib object. + Wrap tempfile.TemporaryDirectory to return a pathlib object. """ with dir as result: yield pathlib.Path(result)