Merge pull request #7933 from jbjd/fix_ImageMath.rst

This commit is contained in:
Hugo van Kemenade 2024-04-02 09:36:45 +03:00 committed by GitHub
commit 7f9a174b33
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,7 +31,7 @@ Example: Using the :py:mod:`~PIL.ImageMath` module
b=im2
)
.. py:function:: lambda_eval(expression, environment)
.. py:function:: lambda_eval(expression, options)
Returns the result of an image function.
@ -44,7 +44,7 @@ Example: Using the :py:mod:`~PIL.ImageMath` module
:return: An image, an integer value, a floating point value,
or a pixel tuple, depending on the expression.
.. py:function:: unsafe_eval(expression, environment)
.. py:function:: unsafe_eval(expression, options)
Evaluates an image expression.