Open jeremymanning opened 6 years ago
Our current type checking machinery is not robust to sub-classes. We should instead use isinstance(x, desired_type) for these checks.
isinstance(x, desired_type)
Our current type checking machinery is not robust to sub-classes. We should instead use
isinstance(x, desired_type)
for these checks.