From 7b91dffc2286bcd46aca3a64158e92ec5f3f406d Mon Sep 17 00:00:00 2001 From: CJ Brown <95722242+ceejbro@users.noreply.github.com> Date: Tue, 21 May 2024 14:37:23 -0400 Subject: [PATCH] Remove Note from Constants PR #71051 Documentation not updated to reflect deep read-only change to const Array and const Dictionary --- tutorials/scripting/gdscript/gdscript_basics.rst | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tutorials/scripting/gdscript/gdscript_basics.rst b/tutorials/scripting/gdscript/gdscript_basics.rst index b5b9bb7a7..8e65e8610 100644 --- a/tutorials/scripting/gdscript/gdscript_basics.rst +++ b/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 ^^^^^