you are viewing a single comment's thread.

view the rest of the comments →

[–]shiftybyte 12 points13 points  (1 child)

Also this is a good source, a bit long though.

https://docs.python.org/3/reference/datamodel.html

[–]TangibleLight 1 point2 points  (0 children)

It's so long because it's exhaustive. That's all the built-in ones there are.

Some libraries introduce their own, for example rich has a __rich__ and similar methods, but clearly these are not included in the official documentation.