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