mirror of
https://github.com/python/cpython.git
synced 2024-12-18 14:24:33 +08:00
One doctest displaying a dict didn't sort it first. *Maybe* this fixes
the AIX problem with this test.
This commit is contained in:
parent
fb50d3ffa1
commit
e2052ab82a
@ -106,8 +106,8 @@ just like classic classes:
|
||||
>>> d = dir(a)
|
||||
>>> 'default' in d and 'x1' in d and 'x2' in d
|
||||
True
|
||||
>>> print a.__dict__
|
||||
{'default': -1000, 'x2': 200, 'x1': 100}
|
||||
>>> print sortdict(a.__dict__)
|
||||
{'default': -1000, 'x1': 100, 'x2': 200}
|
||||
>>>
|
||||
"""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user