Discuss / Python / popitem()方法里的last=False参数为什么我单独运行会出错但是实例代码却不会出错呢

popitem()方法里的last=False参数为什么我单独运行会出错但是实例代码却不会出错呢

Topic source

rt

木登乐一

#2 Created at ... [Delete] [Delete and Lock User]

好像是OrderedDict的popitem()可以添加last参数,Dict的popitem()没有参数


  • 1

Reply