]> granicus.if.org Git - python/commitdiff
bpo-33297: Mention Pillow to work with more image formats. (GH-6505)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 21 Apr 2018 13:03:49 +0000 (06:03 -0700)
committerGitHub <noreply@github.com>
Sat, 21 Apr 2018 13:03:49 +0000 (06:03 -0700)
Also update PIL doc references to Pillow.
(cherry picked from commit b81ca28b378c8b29204a37f8bd433a3379f53f7d)

Co-authored-by: Andrés Delfino <34587441+andresdelfino@users.noreply.github.com>
Doc/distutils/introduction.rst
Doc/library/tkinter.rst
Doc/tutorial/modules.rst

index 8f46bd74c5b01a1bd2f465b1103783c63da0d4bb..a38555910361b85a565a43fe8c205415d74ae997 100644 (file)
@@ -193,8 +193,8 @@ modules using the Distutils:
 module distribution
    a collection of Python modules distributed together as a single downloadable
    resource and meant to be installed *en masse*.  Examples of some well-known
-   module distributions are NumPy, SciPy, PIL (the Python Imaging
-   Library), or mxBase.  (This would be called a *package*, except that term is
+   module distributions are NumPy, SciPy, Pillow,
+   or mxBase.  (This would be called a *package*, except that term is
    already taken in the Python context: a single module distribution may contain
    zero, one, or many Python packages.)
 
index b99dc8ec276272df7ca6c725afccb19b9150ca74..a6a2e473d3d60e6a3bbdbec82240183ce4e68cd5 100644 (file)
@@ -800,6 +800,10 @@ reference to the image. When the last Python reference to the image object is
 deleted, the image data is deleted as well, and Tk will display an empty box
 wherever the image was used.
 
+.. seealso::
+
+    The `Pillow <http://python-pillow.org/>`_ package adds support for
+    formats such as BMP, JPEG, TIFF, and WebP, among others.
 
 .. _tkinter-file-handlers:
 
index 584d4fd72ea82bcd246deeea4766f1629b3233e6..3f689327a0c79322f781c7c7162f5d0027f475e6 100644 (file)
@@ -382,7 +382,7 @@ module names".  For example, the module name :mod:`A.B` designates a submodule
 named ``B`` in a package named ``A``.  Just like the use of modules saves the
 authors of different modules from having to worry about each other's global
 variable names, the use of dotted module names saves the authors of multi-module
-packages like NumPy or the Python Imaging Library from having to worry about
+packages like NumPy or Pillow from having to worry about
 each other's module names.
 
 Suppose you want to design a collection of modules (a "package") for the uniform