Browse Source

Merge pull request #571 from Calinou/gdscript-match-fix-typo

Fix typo in GDScript documentation
Rémi Verschelde 7 years ago
parent
commit
e77c37ef88
1 changed files with 1 additions and 1 deletions
  1. 1 1
      learning/scripting/gdscript/gdscript_basics.rst

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

@@ -783,7 +783,7 @@ There are 6 pattern types:
                 print("open ended array")
                 print("open ended array")
 
 
 - dictionary pattern
 - dictionary pattern
-    Works in the same was as the array pattern. Every key has to be a constant pattern.
+    Works in the same way as the array pattern. Every key has to be a constant pattern.
 
 
     The size of the dictionary is tested first, it has to be the same size as the pattern, otherwise the pattern don't match.
     The size of the dictionary is tested first, it has to be the same size as the pattern, otherwise the pattern don't match.