From f05e856017a596b951c8b288e79b6b4aad8d2643 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Thu, 9 Oct 2014 11:25:39 -0700 Subject: [PATCH] Fix example --- doc/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/index.rst b/doc/index.rst index 59b34108..6f332b5d 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -432,7 +432,7 @@ Accessing arguments by position:: format("{0}, {1}, {2}", 'a', 'b', 'c'); // Result: "a, b, c" - format("{}, {}, {}", 'a', 'b', 'c)'; + format("{}, {}, {}", 'a', 'b', 'c'); // Result: "a, b, c" format("{2}, {1}, {0}", 'a', 'b', 'c'); // Result: "c, b, a"