Polymorphic Dispatching with Python’s Singledispatch
Recently, I was refactoring a portion of a Python function that somewhat looked like this: (more…)
Read more »
For this next blog post in my series of Python’s syntactic sugar, I’m tackling what would seem to be a very simple bit of syntax, but which actually requires diving into multiple layers to fully implement: not. On the surface, the definition of not is ver… Read more