From 134a01ebbe36c876ba4eadf345b45b18165e84c4 Mon Sep 17 00:00:00 2001 From: Chris Bradfield Date: Sat, 28 Apr 2018 14:21:27 -0700 Subject: [PATCH] Merge pull request #1407 from Omicron666/patch-1 Missing bracket --- getting_started/scripting/gdscript/gdscript_format_string.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getting_started/scripting/gdscript/gdscript_format_string.rst b/getting_started/scripting/gdscript/gdscript_format_string.rst index 7f9c6a4a3..b993675a4 100644 --- a/getting_started/scripting/gdscript/gdscript_format_string.rst +++ b/getting_started/scripting/gdscript/gdscript_format_string.rst @@ -247,7 +247,7 @@ The following are some examples of how to use the various invocations of the +------------+-----------+--------------------------------------------------------------------------+-------------------+ | Dictionary | mix | "Hi, {0} v{version}!".format({"0":"Godette", "version":"3.0"}) | Hi, Godette v3.0! | +------------+-----------+--------------------------------------------------------------------------+-------------------+ -| Array | key | "Hi, {name} v{version}!".format([["version":"3.0"], ["name":"Godette"]) | Hi, Godette v3.0! | +| Array | key | "Hi, {name} v{version}!".format([["version":"3.0"], ["name":"Godette"]]) | Hi, Godette v3.0! | +------------+-----------+--------------------------------------------------------------------------+-------------------+ | Array | index | "Hi, {0} v{1}!".format(["Godette","3.0"]) | Hi, Godette v3.0! | +------------+-----------+--------------------------------------------------------------------------+-------------------+