Corrected docstring

This commit is contained in:
Andrew Murray 2021-02-16 22:33:17 +11:00
parent fdd8b68b83
commit 223b05a2ea

View File

@ -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