Follow current recommended practice in an example: Use isinstance() to
perform a type test instead of type(x) == types.FoobarType. In example for type().
Showing
Please register or sign in to comment
perform a type test instead of type(x) == types.FoobarType. In example for type().