In a world with a growing number of subclassable types, replace
type(x) is T tests with isinstance(x, T) Also got rid of a future-generators import, left over from code that wasn't intended to get checked in.
Showing
Please register or sign in to comment