bpo-33283: Mention PNG as a supported format by Tcl/Tk. (GH-6479) · python/cpython@4b685bf
@@ -3533,7 +3533,7 @@ def width(self):
35333533self.tk.call('image', 'width', self.name))
3534353435353535class PhotoImage(Image):
3536-"""Widget which can display colored images in GIF, PPM/PGM format."""
3536+"""Widget which can display images in PGM, PPM, GIF, PNG format."""
35373537def __init__(self, name=None, cnf={}, master=None, **kw):
35383538"""Create an image with NAME.
35393539@@ -3597,7 +3597,7 @@ def write(self, filename, format=None, from_coords=None):
35973597self.tk.call(args)
3598359835993599class BitmapImage(Image):
3600-"""Widget which can display a bitmap."""
3600+"""Widget which can display images in XBM format."""
36013601def __init__(self, name=None, cnf={}, master=None, **kw):
36023602"""Create a bitmap with NAME.
36033603