They're dunder methods; double-underscore

/? site:docs.python.org "dunder" methods 
https://www.google.com/search?q=site%3Adocs.python.org+%22dunder%22+methods

On Wed, Feb 14, 2024, 10:50 AM kirby urner <kirby.urner@gmail.com> wrote:

Long termers here will likely remember my fave Pythonic Pedagogy: to introduce special names as __ribs__.

Because pythons have lots of __ribs__.

I've not abandoned this idea, just haven't been redundantly reposting about it here for some time. 

But now...

Why not share a couple "friend links" (nothing counts against a quota, no logging in I hope)?:



A two parter on Medium. I'm getting some claps. I can take criticisms too.

Kirby

_______________________________________________
Edu-sig mailing list -- edu-sig@python.org
To unsubscribe send an email to edu-sig-leave@python.org
https://mail.python.org/mailman3/lists/edu-sig.python.org/
Member address: wes.turner@gmail.com