diff options
author | Andrés Delfino <34587441+andresdelfino@users.noreply.github.com> | 2018-04-17 05:34:35 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2018-04-17 05:34:35 (GMT) |
commit | 4b685bf7192fff48c8effeeae4f4d64f9420ec0f (patch) | |
tree | ace39eeafe89c41d8dfe54f6dc9d5d6a1bba3635 /Lib/tkinter/__init__.py | |
parent | a00d440edb4ccf36c83673a0fb172b29c76a66e6 (diff) | |
download | cpython-4b685bf7192fff48c8effeeae4f4d64f9420ec0f.zip cpython-4b685bf7192fff48c8effeeae4f4d64f9420ec0f.tar.gz cpython-4b685bf7192fff48c8effeeae4f4d64f9420ec0f.tar.bz2 |
bpo-33283: Mention PNG as a supported format by Tcl/Tk. (GH-6479)
Diffstat (limited to 'Lib/tkinter/__init__.py')
-rw-r--r-- | Lib/tkinter/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/tkinter/__init__.py b/Lib/tkinter/__init__.py index 53bad3f..b78191e 100644 --- a/Lib/tkinter/__init__.py +++ b/Lib/tkinter/__init__.py @@ -3533,7 +3533,7 @@ class Image: self.tk.call('image', 'width', self.name)) class PhotoImage(Image): - """Widget which can display colored images in GIF, PPM/PGM format.""" + """Widget which can display images in PGM, PPM, GIF, PNG format.""" def __init__(self, name=None, cnf={}, master=None, **kw): """Create an image with NAME. @@ -3597,7 +3597,7 @@ class PhotoImage(Image): self.tk.call(args) class BitmapImage(Image): - """Widget which can display a bitmap.""" + """Widget which can display images in XBM format.""" def __init__(self, name=None, cnf={}, master=None, **kw): """Create a bitmap with NAME. |