Skip to content

Commit

Permalink
Merge pull request #5255 from radarhere/getrgb
Browse files Browse the repository at this point in the history
Updated ImageColor.getrgb docstring
  • Loading branch information
hugovk committed Feb 9, 2021
2 parents f118a21 + 441d75a commit cc4ed21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PIL/ImageColor.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@

def getrgb(color):
"""
Convert a color string to an RGB tuple. If the string cannot be parsed,
this function raises a :py:exc:`ValueError` exception.
Convert a color string to an RGB or RGBA tuple. If the string cannot be
parsed, this function raises a :py:exc:`ValueError` exception.
.. versionadded:: 1.1.4
Expand Down

0 comments on commit cc4ed21

Please sign in to comment.