Python __init_subclass__ – a simpler way to implement class registries in Python I overlooked that fact that Python 3.6 added a new class method to object called __init_subclass__ [https://docs.python.org/3/reference/datamodel.html#object.__init_subclass__]. Once use case where it shines is class registries. Put simply, this is keeping track
Python Python 3.5: Getting to grips with type hints If you've written Python code using an IDE, you might have found that the IDE does a reasonable job at inferring types of function arguments and return values. But, you may have also run into instances when the IDE failed to deduce