From dd9ce2bc2aec657e915bb7bef2b938db6a721e37 Mon Sep 17 00:00:00 2001
From: Blake Lambert <36992974+curiouscoding22@users.noreply.github.com>
Date: Fri, 22 Feb 2019 03:33:16 -0500
Subject: [PATCH] Added information on inheritance in Python (#26572)
* Added information on inheritance in Python
* Formatting changes
---
.../inheritance/index.md | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/guide/english/python/object-oriented-programming/inheritance/index.md b/guide/english/python/object-oriented-programming/inheritance/index.md
index 47ced29e97..52934ff9ef 100644
--- a/guide/english/python/object-oriented-programming/inheritance/index.md
+++ b/guide/english/python/object-oriented-programming/inheritance/index.md
@@ -3,11 +3,19 @@ title: Inheritance
---
## Inheritance
-This is a stub. Help our community expand it.
+Because Python is an opject oriented programing language, classes created in Python are able to inherit attributes and methods from other classes. For example:
-This quick style guide will help ensure your pull request gets accepted.
+```python
+class ParentClass():
+ pass
+
+class ChildClass(ParentClass):
+ pass
+
+````
+In the very basic example, the `ChildClass` class will inherit from `ParentClass` and use code defined under that class.
-
+Python is also able to support multiple inheritance, so child classes can inherit from multiple classes.
#### More Information: