Questions tagged «dictionary»

1
如何在Vim中合并两个词典?
我有两个决定: :let defaults = {'hello': 'world', 'bye': 'jupiter'} :let override = {'hello': 'mars'} 如何合并来自的键,override以便最终得到一个新的字典,如下所示: {'hello': 'mars', 'bye': 'jupiter'}
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.