Browse Source

Add missing code formatting to function name in GDScript basics (#3885)

Marcin Sędłak-Jakubowski 5 years ago
parent
commit
8197cfa051
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

@@ -1317,7 +1317,7 @@ If a class inherits from :ref:`class_Reference`, then instances will be
 freed when no longer in use. No garbage collector exists, just
 freed when no longer in use. No garbage collector exists, just
 reference counting. By default, all classes that don't define
 reference counting. By default, all classes that don't define
 inheritance extend **Reference**. If this is not desired, then a class
 inheritance extend **Reference**. If this is not desired, then a class
-must inherit :ref:`class_Object` manually and must call instance.free(). To
+must inherit :ref:`class_Object` manually and must call ``instance.free()``. To
 avoid reference cycles that can't be freed, a ``weakref`` function is
 avoid reference cycles that can't be freed, a ``weakref`` function is
 provided for creating weak references.
 provided for creating weak references.