@@ -31,20 +31,21 @@ Example: Using the :py:mod:`~PIL.ImageMath` module
3131 b=im2
3232 )
3333
34- .. py :function :: lambda_eval(expression, options)
34+ .. py :function :: lambda_eval(expression, options, ** kw )
3535
3636 Returns the result of an image function.
3737
3838 :param expression: A function that receives a dictionary.
39- :param options: Values to add to the function's dictionary, mapping image
40- names to Image instances . Deprecated.
39+ :param options: Values to add to the function's dictionary. Note that the names
40+ must be valid Python identifiers . Deprecated.
4141 You can instead use one or more keyword arguments, as
42- shown in the above example. Note that the names must be
43- valid Python identifiers.
42+ shown in the above example.
43+ :param \* *kw: Values to add to the function's dictionary, mapping image names to
44+ Image instances.
4445 :return: An image, an integer value, a floating point value,
4546 or a pixel tuple, depending on the expression.
4647
47- .. py :function :: unsafe_eval(expression, options)
48+ .. py :function :: unsafe_eval(expression, options, ** kw )
4849
4950 Evaluates an image expression.
5051
@@ -61,11 +62,12 @@ Example: Using the :py:mod:`~PIL.ImageMath` module
6162 :param expression: A string which uses the standard Python expression
6263 syntax. In addition to the standard operators, you can
6364 also use the functions described below.
64- :param options: Values to add to the function's dictionary, mapping image
65- names to Image instances . Deprecated.
65+ :param options: Values to add to the evaluation context. Note that the names must
66+ be valid Python identifiers . Deprecated.
6667 You can instead use one or more keyword arguments, as
67- shown in the above example. Note that the names must be
68- valid Python identifiers.
68+ shown in the above example.
69+ :param \* *kw: Values to add to the evaluation context, mapping image names to Image
70+ instances.
6971 :return: An image, an integer value, a floating point value,
7072 or a pixel tuple, depending on the expression.
7173
0 commit comments