Use type(x).__name__ to get the name of the type instead of parsing
repr(type(x)).
1 file changed