From 53830038ac9672e94dcf88265b084cdc88cd7517 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Tue, 3 Sep 2019 17:50:39 +0530 Subject: [PATCH] docs/syntax: fix typo in dict example [skip ci] --- 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 66b6ad354..b96e6e17b 100644 --- a/docs/markdown/Syntax.md +++ b/docs/markdown/Syntax.md @@ -347,7 +347,7 @@ about the methods exposed by dictionaries. Since 0.49.0, you can check if a dictionary contains a key like this: ```meson -my_dict = {'foo': 42, 'foo': 43} +my_dict = {'foo': 42, 'bar': 43} if 'foo' in my_dict # This condition is true endif