Ver código fonte

Remove Note from Constants

PR #71051
Documentation not updated to reflect deep read-only change to const Array and const Dictionary
CJ Brown 1 ano atrás
pai
commit
7b91dffc22
1 arquivos alterados com 0 adições e 6 exclusões
  1. 0 6
      tutorials/scripting/gdscript/gdscript_basics.rst

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

@@ -1243,12 +1243,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
 ^^^^^