Minimal, safe changes required to make this code syntax compatible with both Python 2 and Python 3. There will probably be more changes required to complete the port to Python 3 but this should provide a solid start in that process without breaking backward compatibility with legacy Python.
Minimal, safe changes required to make this code syntax compatible with both Python 2 and Python 3. There will probably be more changes required to complete the port to Python 3 but this should provide a solid start in that process without breaking backward compatibility with legacy Python.