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 0e64cf6 commit 5ef6adeCopy full SHA for 5ef6ade
stdnum/numdb.py
@@ -178,7 +178,7 @@ def _get_resource_stream(name: str) -> IO[bytes]:
178
import importlib.resources
179
return importlib.resources.files(__package__).joinpath(name).open('rb')
180
except (ImportError, AttributeError): # pragma: no cover (older Python versions)
181
- import pkg_resources # type: ignore[import-untyped]
+ import pkg_resources # type: ignore
182
return pkg_resources.resource_stream(__name__, name) # type: ignore[no-any-return]
183
184
0 commit comments