Browse Source

Merge pull request #1983 from corrigentia/patch-24

Add some missing commas to gdscript_format_string.rst
Rémi Verschelde 6 years ago
parent
commit
3c0d983234
1 changed files with 2 additions and 2 deletions
  1. 2 2
      getting_started/scripting/gdscript/gdscript_format_string.rst

+ 2 - 2
getting_started/scripting/gdscript/gdscript_format_string.rst

@@ -3,7 +3,7 @@
 GDScript format strings
 GDScript format strings
 =======================
 =======================
 
 
-GDScript offers a feature called *format strings* which allows reusing text
+GDScript offers a feature called *format strings*, which allows reusing text
 templates to succinctly create different but similar strings.
 templates to succinctly create different but similar strings.
 
 
 Format strings are just like normal strings, except they contain certain
 Format strings are just like normal strings, except they contain certain
@@ -270,7 +270,7 @@ examples of that functionality.
 | Prefix          | ``"Hi, %0 v%1".format(["Godette", "3.0"], "%_")``    | Hi, Godette v3.0 |
 | Prefix          | ``"Hi, %0 v%1".format(["Godette", "3.0"], "%_")``    | Hi, Godette v3.0 |
 +-----------------+------------------------------------------------------+------------------+
 +-----------------+------------------------------------------------------+------------------+
 
 
-Combining both the ``String.format`` method and the ``%`` operator could be useful as
+Combining both the ``String.format`` method and the ``%`` operator could be useful, as
 ``String.format`` does not have a way to manipulate the representation of numbers.
 ``String.format`` does not have a way to manipulate the representation of numbers.
 
 
 +---------------------------------------------------------------------------+-------------------+
 +---------------------------------------------------------------------------+-------------------+