From 9527248bc0d69b9b5bd121bad24e6b56a6ce0057 Mon Sep 17 00:00:00 2001 From: Dave Pearson Date: Sat, 15 Oct 2022 10:06:57 +0100 Subject: [PATCH] Remove 's' from 'strings' --- docs/guide/actions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/actions.md b/docs/guide/actions.md index b8069e326..fd682cef9 100644 --- a/docs/guide/actions.md +++ b/docs/guide/actions.md @@ -50,7 +50,7 @@ Action strings have the following format: ### Parameters -If the action strings contains parameters, these must be valid Python literals. Which means you can include numbers, strings, dicts, lists etc. but you can't include variables or references to any other python symbols. +If the action string contains parameters, these must be valid Python literals. Which means you can include numbers, strings, dicts, lists etc. but you can't include variables or references to any other python symbols. Consequently `"set_background('blue')"` is a valid action string, but `"set_background(new_color)"` is not — because `new_color` is a variable and not a literal.