scipy.optimize.RootResults.

popitem#

RootResults.popitem(/)#

移除並以 2 元組形式返回 (鍵, 值) 對。

鍵值對以 LIFO(後進先出)順序返回。如果字典為空,則引發 KeyError。