Merge pull request #215 from basefas/patch-3

Update p06_map_keys_to_multiple_values_in_dict.rst
This commit is contained in:
XiongNeng
2017-12-20 15:37:20 +08:00
committed by GitHub

View File

@@ -49,7 +49,7 @@
.. code-block:: python
d = {} # A regular dictionary
   d = {} # 一个普通的字典
d.setdefault('a', []).append(1)
d.setdefault('a', []).append(2)
d.setdefault('b', []).append(4)