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: