jkahn / samyro

Samyro text generation kit built on RNNs.
MIT License
3 stars 1 forks source link

Need to import xrange from six.moves for Python 3 compatibility #1

Closed wpm closed 8 years ago

wpm commented 8 years ago

integerize.py:reshape_cleavable uses xrange in its loop, but xrange is not supported in Python 3. The fix is to add from six.moves import xrange to the top of this file as is done elsewhere in the project.