[Python 3000] typographic changes to work with Python 3