fixed print statements in pygments for python3