Переглянути джерело

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
 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
 ^^^^^