You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2
Original file line number
Diff line number
Diff line change
@@ -88,6 +88,8 @@ All layer effects have the following common parameters (all of them end with `_`
88
88
*`visible_` - if ``False``, the effect will be added, but will not be applied.
89
89
*`filter_name_` - a custom name for the effect. If omitted, a default name is assigned by GIMP.
90
90
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
+
91
93
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`.
92
94
93
95
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