mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-06-25 23:43:16 +03:00
Fixed docstrings
This commit is contained in:
parent
48c8f1f219
commit
30c9ca15fb
|
@ -358,7 +358,7 @@ _initialized = 0
|
||||||
|
|
||||||
|
|
||||||
def preinit():
|
def preinit():
|
||||||
"Explicitly load standard file format drivers."
|
"""Explicitly load standard file format drivers."""
|
||||||
|
|
||||||
global _initialized
|
global _initialized
|
||||||
if _initialized >= 1:
|
if _initialized >= 1:
|
||||||
|
@ -2246,7 +2246,7 @@ class ImageTransformHandler(object):
|
||||||
# Debugging
|
# Debugging
|
||||||
|
|
||||||
def _wedge():
|
def _wedge():
|
||||||
"Create greyscale wedge (for debugging only)"
|
"""Create greyscale wedge (for debugging only)"""
|
||||||
|
|
||||||
return Image()._new(core.wedge("L"))
|
return Image()._new(core.wedge("L"))
|
||||||
|
|
||||||
|
|
|
@ -663,7 +663,7 @@ _OUTMODES = {
|
||||||
|
|
||||||
|
|
||||||
def putchunk(fp, cid, *data):
|
def putchunk(fp, cid, *data):
|
||||||
"Write a PNG chunk (including CRC field)"
|
"""Write a PNG chunk (including CRC field)"""
|
||||||
|
|
||||||
data = b"".join(data)
|
data = b"".join(data)
|
||||||
|
|
||||||
|
|
|
@ -200,7 +200,7 @@ class SpiderImageFile(ImageFile.ImageFile):
|
||||||
|
|
||||||
# given a list of filenames, return a list of images
|
# given a list of filenames, return a list of images
|
||||||
def loadImageSeries(filelist=None):
|
def loadImageSeries(filelist=None):
|
||||||
" create a list of Image.images for use in montage "
|
"""create a list of Image.images for use in montage"""
|
||||||
if filelist is None or len(filelist) < 1:
|
if filelist is None or len(filelist) < 1:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user