Fixes reference to old from_python method

fixes #1