changed function name for Python 3 compatibility

not sure whether this will suffice though - @cdent, care to release?