From b37279a29cf29a66f86a99de6ce46d6226999c75 Mon Sep 17 00:00:00 2001 From: jbjd Date: Mon, 1 Apr 2024 20:09:02 -0500 Subject: [PATCH] fix parameter name in ImageMath docs --- docs/reference/ImageMath.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/ImageMath.rst b/docs/reference/ImageMath.rst index 703b2f5b9..2535db711 100644 --- a/docs/reference/ImageMath.rst +++ b/docs/reference/ImageMath.rst @@ -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.