mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-05-29 18:23:24 +03:00
Docs: spacing
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
parent
bf46c6a648
commit
79e8eba3f8
|
@ -128,7 +128,7 @@ def getcolor(color, mode):
|
||||||
|
|
||||||
:param color: A color string
|
:param color: A color string
|
||||||
:param mode: Convert result to this mode
|
:param mode: Convert result to this mode
|
||||||
:return: ``(graylevel [, alpha]) or (red, green, blue[, alpha])``
|
:return: ``(graylevel[, alpha]) or (red, green, blue[, alpha])``
|
||||||
"""
|
"""
|
||||||
# same as getrgb, but converts the result to the given mode
|
# same as getrgb, but converts the result to the given mode
|
||||||
color, alpha = getrgb(color), 255
|
color, alpha = getrgb(color), 255
|
||||||
|
|
Loading…
Reference in New Issue
Block a user