Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

376
Every dunder method in Python
Post Body

For years my training students have been asking me for a list of all the dunder methods. The Python docs don't have such a list, so I compiled my own... after having on my to-do list for years.

Every dunder method in Python

I realized why it took me so long during when I finally finished compiling the table of all of them... there are over 100 dunder methods in Python! 💯

Edit: I should have said "the Python docs don't have such a list in a single row-by-row table". The Data Model page does indeed include a giant "Special Names" section and a "Coroutines" section which document nearly every special method, but it's quite challenging to skim and not *quite* complete.

Author
Account Strength
100%
Account Age
13 years
Verified Email
Yes
Verified Flair
No
Total Karma
3,345
Link Karma
2,456
Comment Karma
889
Profile updated: 5 days ago
Posts updated: 8 months ago
Python Morsels

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
8 months ago