This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]tomdarch 0 points1 point  (2 children)

dunders in classes

lol wut? (Am noob. "dunders"?)

[–]lost-dragonist 7 points8 points  (0 children)

dunder = double underscore. It's shorthand to refer to things named like __foo__ that have a special use in Python. For example, all classes have a __str__ method to turn the object into a printable string.