mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-26 07:04:45 +03:00
Type annotations: Image.py: Annotation for not-installed handler.
This commit is contained in:
parent
d6f89c103c
commit
c23c755acc
|
@ -56,6 +56,7 @@ class DecompressionBombError(Exception):
|
|||
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