mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-05 06:00:58 +03:00
Merge pull request #6040 from hugovk/fix-docs-return
Fix return in docs
This commit is contained in:
commit
1c679a93f9
|
@ -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