mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-11 04:07:21 +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