Merge pull request #3095 from hugovk/rm-del-draw

Remove 'del draw' from code example
This commit is contained in:
Hugo 2018-04-22 20:54:01 +03:00 committed by GitHub
commit 572c06f6cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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")