AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Magical names dictionary8/17/2023 All of the magic methods for Python appear in the same section in the Python docs, but they're scattered about and only loosely organized. They're also not as well documented as they need to be. ![]() They're always surrounded by double underscores (e.g. They're special methods that you can define to add "magic" to your classes. What are magic methods? They're everything in object-oriented Python. This guide is the culmination of a few months' worth of blog posts.
0 Comments
Read More
Leave a Reply. |