diff --git a/doc/tut2.rst b/doc/tut2.rst index 985a7257f7..f145528a13 100644 --- a/doc/tut2.rst +++ b/doc/tut2.rst @@ -206,7 +206,7 @@ for any type: echo "abc".len # is the same as echo len("abc") echo "abc".toUpper() - echo {'a', 'b', 'c'}.card + echo({'a', 'b', 'c'}.card) stdout.writeLine("Hallo") # the same as writeLine(stdout, "Hallo") (Another way to look at the method call syntax is that it provides the missing