pub fn to_pynotimplemented_err(e: impl Display) -> PyErr
Converts any type that implements Display to a Python NotImplementedError.
Display
NotImplementedError
Returns a Python error with the error string.