Fixed docstrings

This commit is contained in:
Andrew Murray 2018-04-09 23:13:19 +10:00
parent 48c8f1f219
commit 30c9ca15fb
3 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

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