Skip to content

Commit b9827b7

Browse files
andresdelfinoserhiy-storchaka
authored andcommitted
[2.7] bpo-33297: Mention Pillow to work with more image formats. (GH-6505) (GH-6562)
Also update PIL doc references to Pillow. (cherry picked from commit 'b81ca28b378c8b29204a37f8bd433a3379f53f7d') Co-authored-by: 'Andrés Delfino.34587441+andresdelfino@users.noreply.github.com'
1 parent 4caba7a commit b9827b7

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 Numeric Python, PyXML, PIL (the Python Imaging
197-
Library), or mxBase. (This would be called a *package*, except that term is
196+
module distributions are Numeric Python, PyXML, 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
@@ -818,6 +818,10 @@ reference to the image. When the last Python reference to the image object is
818818
deleted, the image data is deleted as well, and Tk will display an empty box
819819
wherever the image was used.
820820

821+
.. seealso::
822+
823+
The `Pillow <http://python-pillow.org/>`_ package adds support for
824+
formats such as BMP, JPEG, TIFF, and WebP, among others.
821825

822826
.. _tkinter-file-handlers:
823827

Doc/tutorial/modules.rst

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

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

0 commit comments

Comments
 (0)