scipy.optimize.RootResults.

popitem#

RootResults.popitem(/)#

移除并返回一个 (key, value) 键值对作为 2 元组。

键值对按 LIFO (后进先出) 顺序返回。如果字典为空,则引发 KeyError。