1.1 --- a/micropython/common.py Wed Feb 29 00:39:20 2012 +0100
1.2 +++ b/micropython/common.py Mon Mar 05 00:25:11 2012 +0100
1.3 @@ -155,7 +155,17 @@
1.4
1.5 def update_mapping_dict(new_dict, dicts):
1.6
1.7 - "Update 'new_dict' with the contents of the set dictionary 'dicts'."
1.8 + """
1.9 + Update 'new_dict' with the contents of the set dictionary 'dicts'.
1.10 + None entries may be incorporated into object sets. For example:
1.11 +
1.12 + d1: {'a' : None}
1.13 + d2: {'a' : x}
1.14 + -> {'a' : {None, x}}
1.15 +
1.16 + Here, None might be used to represent an empty set and x may be an existing
1.17 + set.
1.18 + """
1.19
1.20 for old_dict in dicts:
1.21 for key, value in old_dict.items():