Skip to content

Commit

Permalink
Fixed want
Browse files Browse the repository at this point in the history
  • Loading branch information
Erotemic committed Aug 3, 2019
1 parent 3563352 commit 0df36e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boltons/urlutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1021,7 +1021,7 @@ class OrderedMultiDict(dict):
>>> from pprint import pprint as pp # ensuring proper key ordering
>>> omd = OrderedMultiDict([('a', 1), ('b', 2), ('a', 3)])
>>> pp(dict(omd))
{'a': 3, '': 2}
{'a': 3, 'b': 2}
Note that modifying those lists will modify the OMD. If you want a
safe-to-modify or flat dictionary, use :meth:`OrderedMultiDict.todict()`.
Expand Down

0 comments on commit 0df36e6

Please sign in to comment.