Updated documentation and removed deprecated comment

This commit is contained in:
Andrew Murray 2015-09-23 22:14:06 +10:00
parent a5bac62bc3
commit d097d44fa1
2 changed files with 2 additions and 3 deletions

View File

@ -668,7 +668,6 @@ class ImageFileDirectory_v1(ImageFileDirectory_v2):
def __init__(self, *args, **kwargs):
ImageFileDirectory_v2.__init__(self, *args, **kwargs)
self._legacy_api = True
# insert deprecation warning here.
tags = property(lambda self: self._tags_v1)
tagdata = property(lambda self: self._tagdata)

View File

@ -512,7 +512,7 @@ The :py:meth:`~PIL.Image.Image.save` method can take the following keyword argum
For compatibility with legacy code, a
`~PIL.TiffImagePlugin.ImageFileDirectory_v1` object may be passed
in this field. This will be deprecated in a future version.
in this field. However, this is deprecated.
..versionadded:: 3.0.0