Modernize code by using isinstance() instead of type() checks
1 file changed