mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
#599: Import PIL as `from PIL import Image
`.
This commit is contained in:
parent
25c61f0748
commit
f36ca80765
2
CHANGES
2
CHANGES
@ -1,6 +1,8 @@
|
||||
Release 1.0.7 (in development)
|
||||
==============================
|
||||
|
||||
* #599: Import PIL as ``from PIL import Image``.
|
||||
|
||||
* #558: Fix longtables with captions in LaTeX output.
|
||||
|
||||
* Make token references work as hyperlinks again in LaTeX output.
|
||||
|
@ -21,7 +21,7 @@ from sphinx.locale import admonitionlabels, versionlabels, _
|
||||
from sphinx.util.smartypants import sphinx_smarty_pants
|
||||
|
||||
try:
|
||||
import Image # check for the Python Imaging Library
|
||||
from PIL import Image # check for the Python Imaging Library
|
||||
except ImportError:
|
||||
Image = None
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user