From b43ba5afef08ab9aa990fd6d9e2c4b1e4f04dc3e Mon Sep 17 00:00:00 2001 From: bzcorn Date: Sat, 5 Dec 2015 12:11:47 -0600 Subject: [PATCH 1/2] Update Object Oriented Programming.ipynb Typo found in lesson --- Object Oriented Programming.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Object Oriented Programming.ipynb b/Object Oriented Programming.ipynb index fdcb40e..6d4d9c1 100644 --- a/Object Oriented Programming.ipynb +++ b/Object Oriented Programming.ipynb @@ -342,7 +342,7 @@ "\n", "Methods are functions defined inside the body of a class. They are used to perform operations with the attributes of our objects. Methods are essential in encapsulation concept of the OOP paradigm. This is essential in dividing responsibilities in programming, especially in large applications.\n", "\n", - "You can basically think of methods as functions acting on an Object that take the Object itself into accoutn through its *self* argument.\n", + "You can basically think of methods as functions acting on an Object that take the Object itself into account through its *self* argument.\n", "\n", "Lets go through an example of creating a Circle class:" ] From 3a1150bddf00e840a452f9218081a1322bd578a2 Mon Sep 17 00:00:00 2001 From: bzcorn Date: Sat, 5 Dec 2015 12:16:50 -0600 Subject: [PATCH 2/2] Update Object Oriented Programming.ipynb --- Object Oriented Programming.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Object Oriented Programming.ipynb b/Object Oriented Programming.ipynb index 6d4d9c1..76c189a 100644 --- a/Object Oriented Programming.ipynb +++ b/Object Oriented Programming.ipynb @@ -534,7 +534,7 @@ "metadata": {}, "source": [ "##Special Methods\n", - "Finally lets go over special methods. Classes in Python can implement certain operations with special method names. These methods are not actually called directly but by Python specific language syntac. For example Lets create a Book class:" + "Finally lets go over special methods. Classes in Python can implement certain operations with special method names. These methods are not actually called directly but by Python specific language syntax. For example Lets create a Book class:" ] }, {