mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-27 09:44:31 +03:00
Fix return in docs
This commit is contained in:
parent
4fc553ccfb
commit
601c9d8515
|
@ -482,6 +482,7 @@ class JpegImageFile(ImageFile.ImageFile):
|
||||||
"""
|
"""
|
||||||
Returns a dictionary containing the XMP tags.
|
Returns a dictionary containing the XMP tags.
|
||||||
Requires defusedxml to be installed.
|
Requires defusedxml to be installed.
|
||||||
|
|
||||||
:returns: XMP tags in a dictionary.
|
:returns: XMP tags in a dictionary.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
|
@ -982,6 +982,7 @@ class PngImageFile(ImageFile.ImageFile):
|
||||||
"""
|
"""
|
||||||
Returns a dictionary containing the XMP tags.
|
Returns a dictionary containing the XMP tags.
|
||||||
Requires defusedxml to be installed.
|
Requires defusedxml to be installed.
|
||||||
|
|
||||||
:returns: XMP tags in a dictionary.
|
:returns: XMP tags in a dictionary.
|
||||||
"""
|
"""
|
||||||
return (
|
return (
|
||||||
|
|
|
@ -1124,6 +1124,7 @@ class TiffImageFile(ImageFile.ImageFile):
|
||||||
"""
|
"""
|
||||||
Returns a dictionary containing the XMP tags.
|
Returns a dictionary containing the XMP tags.
|
||||||
Requires defusedxml to be installed.
|
Requires defusedxml to be installed.
|
||||||
|
|
||||||
:returns: XMP tags in a dictionary.
|
:returns: XMP tags in a dictionary.
|
||||||
"""
|
"""
|
||||||
return self._getxmp(self.tag_v2[700]) if 700 in self.tag_v2 else {}
|
return self._getxmp(self.tag_v2[700]) if 700 in self.tag_v2 else {}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user