Open TomSchammo opened 2 years ago
Types from the typing module are currently not supported by the strict function decorator.
typing
strict
This can be solved by using isinstance, however I'd then have to rewrite some tests because bool is actually an instance of int. But using isinstance seem to be the right thing to do.
isinstance
bool
int
Types from the
typing
module are currently not supported by thestrict
function decorator.