Fixed ff881aef on Python 3.