Skip to content

Commit

Permalink
Merge pull request #1728 from radarhere/buffer
Browse files Browse the repository at this point in the history
Updated documentation s/fromstring/frombytes
  • Loading branch information
wiredfool committed Feb 23, 2016
2 parents bdf56fa + 7bfb274 commit 27d8edb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PIL/Image.py
Original file line number Diff line number Diff line change
Expand Up @@ -2077,7 +2077,7 @@ def frombuffer(mode, size, data, decoder_name="raw", *args):
**BytesIO** object, and use :py:func:`~PIL.Image.open` to load it.
In the current version, the default parameters used for the "raw" decoder
differs from that used for :py:func:`~PIL.Image.fromstring`. This is a
differs from that used for :py:func:`~PIL.Image.frombytes`. This is a
bug, and will probably be fixed in a future release. The current release
issues a warning if you do this; to disable the warning, you should provide
the full set of parameters. See below for details.
Expand Down

0 comments on commit 27d8edb

Please sign in to comment.