Skip to content

When validating, check if issubclass of type instead of just type #40

@jmansilla

Description

@jmansilla

I have so code that should work both in python 2 and 3, and because of that I'm using instead of strings

future.builtins.str

the type of such a thing is

future.builtins.types.newstr.BaseNewStr

and because of that, instead of validating the type is used as a callable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions