mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-14 13:46:57 +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
|