浏览代码

Merge pull request #3103 from cata0309/patch-1

Replaced wrong semicolon by a colon !
Rémi Verschelde 5 年之前
父节点
当前提交
2e4df1e5c2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      getting_started/scripting/gdscript/gdscript_advanced.rst

+ 1 - 1
getting_started/scripting/gdscript/gdscript_advanced.rst

@@ -155,7 +155,7 @@ too. Some Examples:
 
 ::
 
-    func use_class(instance); # Does not care about class type
+    func use_class(instance): # Does not care about class type
         instance.use() # Will work with any class that has a ".use()" method.
 
     func do_something():