pop — SciPy v1.15.3 Manual (original) (raw)

scipy.optimize.OptimizeResult.

OptimizeResult.pop(key, default=, /)#

If the key is not found, return the default if given; otherwise, raise a KeyError.