Skip to content

Commit 3089317

Browse files
committed
Inheritance
1 parent 833cc7d commit 3089317

6 files changed

+0
-12
lines changed

Inheritance/inheritance-1.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
31
# inheritance-1.py
42

53
# The code below shows how a class can inherit from another class.

Inheritance/inheritance-2.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
31
# inheritance-2.py
42

53
# The code below shows another example of inheritance

Inheritance/inheriting-init-constructor-1.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
31
# inheriting-init-constructor-1.py
42

53
# This is a normal inheritance example from which we build

Inheritance/multiple-inheritance-1.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
31
# multiple-inheritance-1.py
42

53
# Python supports multiple inheritance and uses a depth-first order

Inheritance/multiple-inheritance-2.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
31
# multiple-inheritance-2.py
42

53
# Python supports multiple inheritance

Inheritance/multiple-inheritance-3.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
31
# multiple-inheritance-3.py
42

53
# Python supports multiple inheritance

0 commit comments

Comments
 (0)