Commit 278fc91f authored by Stefan Behnel's avatar Stefan Behnel

Merge branch '0.23.x'

parents 9aa8094f f77a3776
......@@ -86,10 +86,10 @@ def dict_call_kwargs():
def items_of_dict_call():
"""
>>> items_of_dict_call()
[('answer1', 42), ('answer2', 42), ('parrot1', u'resting'), ('parrot2', u'resting')]
[('answer1', 42), ('answer2', 42), ('parrot1', 'resting'), ('parrot2', 'resting')]
"""
kwargs = dict(parrot1=u"resting", answer1=42)
items = dict(kwargs.items(), parrot2=u"resting", answer2=42, **kwargs).items()
kwargs = dict(parrot1="resting", answer1=42)
items = dict(kwargs.items(), parrot2="resting", answer2=42, **kwargs).items()
return sorted(items)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment