Update ImageDraw.py

This commit is contained in:
nediamond 2017-06-29 11:25:03 -04:00 committed by GitHub
parent 1cd7e3c260
commit 7ac6f769c4

View File

@ -329,7 +329,7 @@ def floodfill(image, xy, value, border=None, thresh=0):
:param thresh: Optional threshold value which specifies a maximum
tolerable difference of a pixel value from the 'background' in
order for it to be replaced. Useful for filling regions of non-
homogenous, but similar, colors.
homogeneous, but similar, colors.
"""
# based on an implementation by Eric S. Raymond
pixel = image.load()