mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-03 13:14:27 +03:00
Updated docstring
This commit is contained in:
parent
f118a21d55
commit
441d75aa28
|
@ -24,8 +24,8 @@ from . import Image
|
||||||
|
|
||||||
def getrgb(color):
|
def getrgb(color):
|
||||||
"""
|
"""
|
||||||
Convert a color string to an RGB tuple. If the string cannot be parsed,
|
Convert a color string to an RGB or RGBA tuple. If the string cannot be
|
||||||
this function raises a :py:exc:`ValueError` exception.
|
parsed, this function raises a :py:exc:`ValueError` exception.
|
||||||
|
|
||||||
.. versionadded:: 1.1.4
|
.. versionadded:: 1.1.4
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user