Skip to content

Commit a25f00e

Browse files
committed
Fix typo in _temp_path comment.
Ref python/cpython#123597
1 parent defcb90 commit a25f00e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/importlib/resources/_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def _(path):
183183
@contextlib.contextmanager
184184
def _temp_path(dir: tempfile.TemporaryDirectory):
185185
"""
186-
Wrap tempfile.TemporyDirectory to return a pathlib object.
186+
Wrap tempfile.TemporaryDirectory to return a pathlib object.
187187
"""
188188
with dir as result:
189189
yield pathlib.Path(result)

0 commit comments

Comments
 (0)