mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-11 04:07:21 +03:00
Improved docstring [ci skip]
This commit is contained in:
parent
b35cf8bdda
commit
c10bf8d9a7
|
@ -586,10 +586,10 @@ class Image:
|
||||||
This operation will destroy the image core and release its memory.
|
This operation will destroy the image core and release its memory.
|
||||||
The image data will be unusable afterward.
|
The image data will be unusable afterward.
|
||||||
|
|
||||||
This function is only required to close images that have not
|
This function is required to close images that have multiple frames or
|
||||||
had their file read and closed by the
|
have not had their file read and closed by the
|
||||||
:py:meth:`~PIL.Image.Image.load` method. See
|
:py:meth:`~PIL.Image.Image.load` method. See :ref:`file-handling` for
|
||||||
:ref:`file-handling` for more information.
|
more information.
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
if hasattr(self, "_close__fp"):
|
if hasattr(self, "_close__fp"):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user