Fixed splitting API on Python 3
2 files changed