Browse Source

Dictionary: use the potentially clearer word "key" instead of "index" (#3724)

Meriipu 5 năm trước cách đây
mục cha
commit
fbaff8f5c9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      getting_started/scripting/gdscript/gdscript_basics.rst

+ 1 - 1
getting_started/scripting/gdscript/gdscript_basics.rst

@@ -804,7 +804,7 @@ for
 
 To iterate through a range, such as an array or table, a *for* loop is
 used. When iterating over an array, the current array element is stored in
-the loop variable. When iterating over a dictionary, the *index* is stored
+the loop variable. When iterating over a dictionary, the *key* is stored
 in the loop variable.
 
 ::