From 6dc54b86b6f4ef5feb5af796a1eb3c7cadeb7756 Mon Sep 17 00:00:00 2001 From: liberforce Date: Wed, 10 May 2017 17:55:04 +0200 Subject: [PATCH] Update Syntax.md Fix variable name --- docs/markdown/Syntax.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/markdown/Syntax.md b/docs/markdown/Syntax.md index 6f43887c1..2a7428b87 100644 --- a/docs/markdown/Syntax.md +++ b/docs/markdown/Syntax.md @@ -103,7 +103,7 @@ Strings also support a number of other methods that return transformed copies. ```meson # Similar to the Python str.strip(). Removes leading/ending spaces and newlines define = ' -Dsomedefine ' -stripped_define = target.strip() +stripped_define = define.strip() # 'stripped_define' now has the value '-Dsomedefine' ```