Corrected use of function [ci skip]

This commit is contained in:
Andrew Murray 2019-05-06 08:40:32 +10:00
parent 38df9bef09
commit f9f235ac2e

View File

@ -255,9 +255,10 @@ If the raw decoder cannot handle your format, PIL also provides a special “bit
decoder that can be used to read various packed formats into a floating point
image memory.
To use the bit decoder with the frombytes function, use the following syntax::
To use the bit decoder with the :py:func:`PIL.Image.frombytes` function, use
the following syntax::
image = frombytes(
image = Image.frombytes(
mode, size, data, "bit",
bits, pad, fill, sign, orientation
)