Skip to content

Commit 318f0cb

Browse files
committed
Update readme
1 parent e7923a3 commit 318f0cb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ All layer effects have the following common parameters (all of them end with `_`
8888
* `visible_` - if ``False``, the effect will be added, but will not be applied.
8989
* `filter_name_` - a custom name for the effect. If omitted, a default name is assigned by GIMP.
9090

91+
In the marginal case that an argument name matches a Python keyword (e.g. `lambda`), append a `_` (e.g. `lambda_`) to avoid a syntax error.
92+
9193
Return values are returned as a Python list (in case of multiple return values) or directly as a Python object (in case of a single return value). Functions having no return values return `None`.
9294

9395
The exit status is available as the `pdb.last_status` property (in the official GIMP API, this is a part of the returned `Gimp.ValueArray` as the first element). This does not apply to layer effects.

0 commit comments

Comments
 (0)