Remove 'del draw' from code example

This commit is contained in:
Hugo 2018-04-14 19:00:55 +03:00
parent 6ee33d81e4
commit cbfc832ccd

View File

@ -25,7 +25,6 @@ Example: Draw a gray cross over an image
draw = ImageDraw.Draw(im)
draw.line((0, 0) + im.size, fill=128)
draw.line((0, im.size[1], im.size[0], 0), fill=128)
del draw
# write to stdout
im.save(sys.stdout, "PNG")