scipy.optimize
OptimizeResult.
pop
If key is not found, d is returned if given, otherwise KeyError is raised
scipy.optimize.OptimizeResult.keys
scipy.optimize.OptimizeResult.popitem