Raymond Hettinger 5/26/2011

Python’s super() considered super!

Read Original

This article provides a comprehensive tutorial on Python's super() built-in function. It explains how super() works, its advantages over hard-coded parent class calls, and demonstrates practical use cases like extending built-in classes and cooperative multiple inheritance. It aims to clarify common misunderstandings and offers concrete advice for building robust classes.

Python’s super() considered super!

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week