mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +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):
|
def fromqimage(im):
|
||||||
"""
|
"""
|
||||||
:param im: A PIL Image object, or a file name
|
:param im: QImage or PIL ImageQt object
|
||||||
(given either as Python string or a PyQt string object)
|
|
||||||
"""
|
"""
|
||||||
buffer = QBuffer()
|
buffer = QBuffer()
|
||||||
qt_openmode = QIODevice.OpenMode if qt_version == "6" else QIODevice
|
qt_openmode = QIODevice.OpenMode if qt_version == "6" else QIODevice
|
||||||
|
|
Loading…
Reference in New Issue
Block a user