From 35b1ae4ec8d65be91cf64135b8566e5ae89dc99f Mon Sep 17 00:00:00 2001 From: "Carlos A. Iglesias" Date: Thu, 8 Feb 2024 17:43:25 +0100 Subject: [PATCH] Update 1_8_Classes.ipynb Improved formatting. --- python/1_8_Classes.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/1_8_Classes.ipynb b/python/1_8_Classes.ipynb index dd0976a..5f93275 100644 --- a/python/1_8_Classes.ipynb +++ b/python/1_8_Classes.ipynb @@ -41,7 +41,7 @@ "The first argument of instance class method is self, that refers to the current instance of the class.\n", "There is a special method, __init__ that initializes the object. It is like a constructor, but the object is already created when __init__ is called.\n", "\n", - "Instance attributes are define as self.variables. (self is the same than this in Java)." + "Instance attributes are define as *self.variables*. (self is the same than this in Java)." ] }, {