DEV Community

Discussion on: How to write better Python classes using Magic Methods

Collapse
 
bikramjeetsingh profile image
Bikramjeet Singh

Thanks Waylon, that's a great explanation. I had considered including the methods for context managers, iterators, etc in the article but I guess I thought the topics a bit too complex to be covered in a single bullet point. Nevertheless, I'll add it now with a link to your comment.

Collapse
 
waylonwalker profile image
Waylon Walker

For sure, it definitely deserves an article of its own. Just adding to the discussion.