1
0
mirror of https://github.com/gsi-upm/sitc synced 2024-12-22 11:48:12 +00:00

Update 1_8_Classes.ipynb

Improved formatting.
This commit is contained in:
Carlos A. Iglesias 2024-02-08 17:43:25 +01:00 committed by GitHub
parent 58fc6f5e9c
commit 35b1ae4ec8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -41,7 +41,7 @@
"The first argument of instance class method is self, that refers to the current instance of the class.\n", "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", "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", "\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)."
] ]
}, },
{ {