Browse Source

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

Meriipu 5 years ago
parent
commit
fbaff8f5c9
1 changed files with 1 additions and 1 deletions
  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
 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
 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.
 in the loop variable.
 
 
 ::
 ::