The first parameter of a class method, a new method or any metaclass method should be called cls. This makes the purpose of the parameter clear to other developers.

Change the name of the first parameter to cls as recommended by the style guidelines in PEP 8.

In the example, the first parameter to make() is klass which should be changed to cls for ease of comprehension.

  • Python PEP 8: Function and method arguments.
  • Python Tutorial: Classes.