Skip to content

Commit 5c0a8bb

Browse files
bpo-33297: Mention Pillow to work with more image formats. (GH-6505)
Also update PIL doc references to Pillow. (cherry picked from commit b81ca28) Co-authored-by: Andrés Delfino <[email protected]>
1 parent 82de43f commit 5c0a8bb

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

Doc/distutils/introduction.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,8 @@ modules using the Distutils:
193193
module distribution
194194
a collection of Python modules distributed together as a single downloadable
195195
resource and meant to be installed *en masse*. Examples of some well-known
196-
module distributions are NumPy, SciPy, PIL (the Python Imaging
197-
Library), or mxBase. (This would be called a *package*, except that term is
196+
module distributions are NumPy, SciPy, Pillow,
197+
or mxBase. (This would be called a *package*, except that term is
198198
already taken in the Python context: a single module distribution may contain
199199
zero, one, or many Python packages.)
200200

Doc/library/tkinter.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -800,6 +800,10 @@ reference to the image. When the last Python reference to the image object is
800800
deleted, the image data is deleted as well, and Tk will display an empty box
801801
wherever the image was used.
802802

803+
.. seealso::
804+
805+
The `Pillow <http://python-pillow.org/>`_ package adds support for
806+
formats such as BMP, JPEG, TIFF, and WebP, among others.
803807

804808
.. _tkinter-file-handlers:
805809

Doc/tutorial/modules.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ module names". For example, the module name :mod:`A.B` designates a submodule
382382
named ``B`` in a package named ``A``. Just like the use of modules saves the
383383
authors of different modules from having to worry about each other's global
384384
variable names, the use of dotted module names saves the authors of multi-module
385-
packages like NumPy or the Python Imaging Library from having to worry about
385+
packages like NumPy or Pillow from having to worry about
386386
each other's module names.
387387

388388
Suppose you want to design a collection of modules (a "package") for the uniform

0 commit comments

Comments
 (0)