Should cls be passed into a staticmethod? I thought that was only for class methods
I cannot believe it! I actually missed that little detail: @staticmethod and @classmethod are actually two separate things!
I've just edited the article to correct that, and added a new section to clarify the difference. Thank you so much for correcting that.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.