mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-27 10:26:19 +03:00
13 lines
249 B
Python
13 lines
249 B
Python
import warnings
|
|
|
|
warnings.warn(
|
|
'PIL.OleFileIO is deprecated. Use the olefile Python package '
|
|
'instead. This module will be removed in a future version.',
|
|
DeprecationWarning
|
|
)
|
|
|
|
import olefile
|
|
import sys
|
|
|
|
sys.modules[__name__] = olefile
|