Skip to content

pytypes is_of_type: counter-intuitive result on semi-primitive types like list and dict #101

@Martmists-GH

Description

@Martmists-GH
In [2]: from pytypes import is_of_type
In [3]: is_of_type([1, 2, 3], list)
Out[3]: False
In [4]: is_of_type({"a": True}, dict)
Out[4]: False

Python 3.9.0
PyTypes 1.0b5

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions