Type annotations: Image.py: Annotation for not-installed handler.

This commit is contained in:
neiljp (Neil Pilgrim) 2017-08-31 11:54:05 -07:00
parent 446c38ca19
commit 7f18d6e1eb

View File

@ -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")