mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00: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
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue