I have tested this on Python 3, and it works without modification