Skip to content

Commit 5b538e1

Browse files
authored
Update __init__.py
1 parent 29b36fa commit 5b538e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg_resources/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
import time
2828
import re
2929
import types
30-
from typing import Protocol
30+
from typing import List, Protocol
3131
import zipfile
3232
import zipimport
3333
import warnings
@@ -1339,7 +1339,7 @@ def set_extraction_path(self, path):
13391339

13401340
self.extraction_path = path
13411341

1342-
def cleanup_resources(self, force=False) -> list[str]:
1342+
def cleanup_resources(self, force=False) -> List[str]:
13431343
"""
13441344
Delete all extracted resource files and directories, returning a list
13451345
of the file and directory names that could not be successfully removed.

0 commit comments

Comments
 (0)