소스 검색

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