altering an object as you iterate over it?
bruno at modulix
onurb at xiludom.gro
Mon May 22 04:17:58 EDT 2006
Paul McGuire wrote:
> "Bruno Desthuilliers" <bdesth.quelquechose at free.quelquepart.fr> wrote in
> message news:446e573a$0$4960$626a54ce at news.free.fr...
>
>>bruno at modulix a écrit :
>>(snip)
>>
>>(responding to myself)
>>(but under another identity - now that's a bit schizophrenic, isn't it ?-)
>>
>
>
> Do you ever flame yourself?
class Myself(Developper, Schizophrenic):
def _flame(self):
""" implementation left as an exercice to the reader...
Note that this is *not* part of the public API !-)
"""
pass
--
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb at xiludom.gro'.split('@')])"
More information about the Python-list
mailing list