[issue9214] Most Set methods of KeysView and ItemsView do not work right
Daniel Stutzbach
report at bugs.python.org
Fri Jul 9 21:32:34 CEST 2010
Daniel Stutzbach <daniel at stutzbachenterprises.com> added the comment:
Oops. Somehow deleted a linefeed in there. The example should read:
x = MySimpleMapping(red=5)
y = x.keys()
z = x.keys() | {'orange'} x['blue'] = 7
print(list(z))
print(list(z))
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9214>
_______________________________________
More information about the Python-bugs-list
mailing list