fix _imaging and Image.core references

This commit is contained in:
nulano 2020-07-09 19:48:58 +02:00 committed by Andrew Murray
parent 73c5dffb5a
commit ec2b549a4d
2 changed files with 11 additions and 1 deletions

View File

@ -19,7 +19,8 @@ to this::
from PIL import Image
The :py:mod:`~PIL._imaging` module has been moved. You can now import it like this::
The :py:mod:`PIL._imaging` module has been moved to :py:mod:`PIL.Image.core`.
You can now import it like this::
from PIL.Image import core as _imaging

View File

@ -36,3 +36,12 @@ Internal Modules
This is the master version number for Pillow,
all other uses reference this module.
:mod:`PIL.Image.core` Module
----------------------------
.. module:: PIL._imaging
.. module:: PIL.Image.core
An internal interface module previously known as :mod:`~PIL._imaging`,
implemented in :file:`_imaging.c`.