mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 18:26:17 +03:00
Link to the replacement functions
Co-authored-by: nulano <nulano@nulano.eu>
This commit is contained in:
parent
40aefc6ba5
commit
39bc25e28a
|
@ -74,9 +74,9 @@ im.fromstring and tostring
|
|||
.. deprecated:: 2.0.0
|
||||
.. versionremoved:: 8.0.0
|
||||
|
||||
* ``Image.fromstring()`` has been removed, call ``frombytes()`` instead.
|
||||
* ``im.fromstring()`` has been removed, call ``frombytes()`` instead.
|
||||
* ``im.tostring()`` has been removed, call ``tobytes()`` instead.
|
||||
* ``Image.fromstring()`` has been removed, call :py:func:`.Image.frombytes()` instead.
|
||||
* ``im.fromstring()`` has been removed, call :py:meth:`~PIL.Image.Image.frombytes()` instead.
|
||||
* ``im.tostring()`` has been removed, call :py:meth:`~PIL.Image.Image.tobytes()` instead.
|
||||
|
||||
They issued a ``DeprecationWarning`` since 2.0.0,
|
||||
an ``Exception`` since 3.0.0
|
||||
|
|
Loading…
Reference in New Issue
Block a user