mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 01:16:16 +03:00
Corrected docstring
This commit is contained in:
parent
fdd8b68b83
commit
223b05a2ea
|
@ -63,8 +63,7 @@ def rgb(r, g, b, a=255):
|
|||
|
||||
def fromqimage(im):
|
||||
"""
|
||||
:param im: A PIL Image object, or a file name
|
||||
(given either as Python string or a PyQt string object)
|
||||
:param im: QImage or PIL ImageQt object
|
||||
"""
|
||||
buffer = QBuffer()
|
||||
qt_openmode = QIODevice.OpenMode if qt_version == "6" else QIODevice
|
||||
|
|
Loading…
Reference in New Issue
Block a user