mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-27 23:54:46 +03:00
Type annotations: Image.py: Annotation for not-installed handler.
This commit is contained in:
parent
446c38ca19
commit
7f18d6e1eb
|
@ -54,6 +54,7 @@ class DecompressionBombWarning(RuntimeWarning):
|
|||
class _imaging_not_installed(object):
|
||||
# module placeholder
|
||||
def __getattr__(self, id):
|
||||
# type: (str) -> Any
|
||||
raise ImportError("The _imaging C module is not installed")
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user