On Sat, 01 Jan 2011 17:55:10 -0800, K. Richard Pixley wrote:
> Can anyone explain to me why this doesn't work?
>
> class Foo(object):
> @property
> @classmethod
> def f(cls):
> return 4
What does "doesn't work" mean
On 1/1/2011 6:55 PM, K. Richard Pixley wrote:
Can anyone explain to me why this doesn't work?
class Foo(object):
@property
@classmethod
def f(cls):
return 4
I mean, I think it seems to be syntactically clear what I'm trying to
accomplish. What am I missing?
First, because classmeth
Can anyone explain to me why this doesn't work?
class Foo(object):
@property
@classmethod
def f(cls):
return 4
I mean, I think it seems to be syntactically clear what I'm trying to
accomplish. What am I missing?
--rich
--
http://mail.python.org/mailman/listi