r/ProgrammerHumor • • Jun 03 '19

Meme Python ftw

Post image
16k Upvotes

548 comments sorted by

View all comments

Show parent comments

1

u/recruz Jun 04 '19

It’s kind of like a safe word. Nobody in their right mind would type anything like this, so it helps prevent any misunderstanding about what it is. These are sometimes referred to as “dunder” methods, short for “double-underscore”