Re: new-style classes and len method
- From: bruno at modulix <onurb@xxxxxxxxxxx>
- Date: Thu, 13 Apr 2006 18:05:45 +0200
Thomas Girod wrote:
It's alright I found where my mistake came from. I was misunderstanding
the meaning of "classmethod", thinking of it as an instance method.
Given that 'instance methods' being most of the time attributes of the
class object, such a confusion is not so surprising !-)
--
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb@xxxxxxxxxxx'.split('@')])"
.
- References:
- new-style classes and len method
- From: Thomas Girod
- Re: new-style classes and len method
- From: Ben C
- Re: new-style classes and len method
- From: Thomas Girod
- new-style classes and len method
- Prev by Date: Re: new-style classes and len method
- Next by Date: Re: Initializing defaults to module variables
- Previous by thread: Re: new-style classes and len method
- Next by thread: trying to grasp OO : newbie Q?
- Index(es):
Relevant Pages
|