fixed capitalization for consistency
added explanatory comments for Python 3-specific branching