Stephan Richter wrote:
for entry in tuple(tree.keys())
for entry in tree.iterkeys()
Which of these is preferred?
What, specifically, does iterkeys do? I've never bumped into it before
and I'm interested if there's a contract that says iterkeys returns an
immutable key sequence, which is kindof implied above...
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
_______________________________________________
Zope3-users mailing list
[email protected]
http://mail.zope.org/mailman/listinfo/zope3-users