Skip to content

Commit b463e64

Browse files
committed
Python Inheritance
1 parent 2ee780b commit b463e64

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OOP/P06_Inheritance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class Data(object):
77
def getData(self):
88
print('In data!')
99

10-
class Time(Data): #Inhertiting from Data class
10+
class Time(Data): #Inheriting from Data class
1111
def getTime(self):
1212
print('In Time!')
1313

0 commit comments

Comments
 (0)