Fix Python 3 failure when updating docstring