We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2886dc6 commit aebc71dCopy full SHA for aebc71d
1 file changed
stdlib/importlib/resources/abc.pyi
@@ -4,8 +4,10 @@ from abc import ABCMeta, abstractmethod
4
from collections.abc import Iterator
5
from io import BufferedReader
6
from typing import IO, Any, Literal, Protocol, overload, runtime_checkable
7
+from typing_extensions import deprecated
8
9
if sys.version_info >= (3, 11):
10
+ @deprecated("Deprecated since Python 3.12. Use `importlib.resources.abc.TraversableResources` instead.")
11
class ResourceReader(metaclass=ABCMeta):
12
@abstractmethod
13
def open_resource(self, resource: str) -> IO[bytes]: ...
0 commit comments