Skip to content

Remove str parent class of HTML #84

Description

@schloerke

Currently, it is not obvious when asking if an object is a string. I have to ask if not isinstance(x, HTML) and isinstance(x, str).

I'd happy to add a __str__ method and a tagify() method, but I'd like to remove the parent class of str

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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