[Zope3-Users] Deleting subobjects works "half" only
Chris Withers
chris at simplistix.co.uk
Mon May 22 06:43:46 EDT 2006
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
More information about the Zope3-users
mailing list