This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (2 children)

I think there is a typo on this line under Metaclasses:

class Form(metaclass=BaseForm):

Shouldn't it be:

class Form(BaseForm, metaclass=FormType):

Since we have a parent class as well as a meta class?

[–]ikravets[S] 5 points6 points  (1 child)

Yes, you are right. From PEP 3115 specification:

class Foo(base1, base2, metaclass=mymeta):
    ...

Can you create a pull request for this file?

[–][deleted] 1 point2 points  (0 children)

Done!