Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Can't call super() on old-style classes #16

@eyeseast

Description

@eyeseast

I needed to add some processing for a current project, so I tried overriding Copydoc.parse and calling super(). Got TypeError: must be type, not classobj.

Is there any reason CopyDoc doesn't (or shouldn't) inherit from object?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions