瀏覽代碼

Remove Note from Constants

PR #71051
Documentation not updated to reflect deep read-only change to const Array and const Dictionary

(cherry picked from commit 7b91dffc2286bcd46aca3a64158e92ec5f3f406d)
CJ Brown 1 年之前
父節點
當前提交
3f17911d77
共有 1 個文件被更改,包括 0 次插入6 次删除
  1. 0 6
      tutorials/scripting/gdscript/gdscript_basics.rst

+ 0 - 6
tutorials/scripting/gdscript/gdscript_basics.rst

@@ -1241,12 +1241,6 @@ Assigning a value of an incompatible type will raise an error.
 You can also create constants inside a function, which is useful to name local
 You can also create constants inside a function, which is useful to name local
 magic values.
 magic values.
 
 
-.. note::
-
-    Since objects, arrays and dictionaries are passed by reference, constants are "flat".
-    This means that if you declare a constant array or dictionary, it can still
-    be modified afterwards. They can't be reassigned with another value though.
-
 Enums
 Enums
 ^^^^^
 ^^^^^