Skip to content

Commit a472dd5

Browse files
committed
pil_patch: Clarify what part of patch is for Pillow and what for PIL
- Thanks to Anatoly for the suggestion
1 parent 932cd72 commit a472dd5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spyderlib/pil_patch.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,13 @@
4949
===============================================================================
5050
"""
5151

52-
# For Pillow compatibility
5352
try:
53+
# For Pillow compatibility
5454
from PIL import Image
5555
import PIL
5656
PIL.Image = Image
5757
except ImportError:
58+
# For PIL
5859
import Image
5960
import PIL
6061
PIL.Image = Image

0 commit comments

Comments
 (0)