Skip to content

Commit

Permalink
design docs for file closing
Browse files Browse the repository at this point in the history
  • Loading branch information
wiredfool committed Dec 1, 2016
1 parent 1fcde0b commit cf85e8f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/reference/open_files.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ Image Lifecycle
* ``Image.Image.seek()`` in the case of multi-frame images
(e.g. multipage TIFF and animated GIF) the image file left open so
that seek can load the appropriate frame. When the last frame is
read, the image file is closed, and no more seeks can occur.
read, the image file is closed (at least in some image plugins), and
no more seeks can occur.

* ``Image.Image.close()`` Closes the file pointer and destroys the
core image object. This is used in the Pillow context manager
Expand Down

0 comments on commit cf85e8f

Please sign in to comment.