mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-11 04:07:21 +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
|