Blizzard / heroprotocol

Python library to decode Heroes of the Storm replays
MIT License
397 stars 71 forks source link

Use print() function in both Python 2 and Python 3 #85

Closed cclauss closed 4 years ago

cclauss commented 4 years ago

Legacy print statements are syntax errors in Python 3 but print() function works as expected in both Python 2 and Python 3.

xrange() was removed from Python on 1/1/2020.

cclauss commented 4 years ago

@eagleflo Your review please?

eagleflo commented 4 years ago

Looks OK to me, but wouldn't it be easier to depend on mpyq via requirements.txt in the same way https://github.com/Blizzard/s2protocol does? Wouldn't have to do same changes many times.