fix bad-mcs-classmethod-argument (C0204) pylint warning