Skip to content

TypeError: 'type' object is not subscriptable for Python 3.8+ #54

@ndahdah

Description

@ndahdah

Changes to the type hinting need to be made for newer versions of Python.

The fix involves importing "typing" and changing e.g. dict[int, int] to typing.Dict[int, int].

Needed in multiple files.

Metadata

Metadata

Assignees

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