python3 compatibility in example_import