[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rational.py does not compile ver 2.7.21 /ChangeLog/1.4316/
From: |
Bernard Hurley |
Subject: |
Re: rational.py does not compile ver 2.7.21 /ChangeLog/1.4316/ |
Date: |
Thu, 08 Dec 2005 18:53:19 +0000 |
I was using 2.3.5 but I've upgraded to 2.4 and it now compiles OK
/Bernard
On Mon, 2005-12-05 at 14:07 +0100, Han-Wen Nienhuys wrote:
> Bernard Hurley wrote:
> > The @staticmethod (there are four of them) seem to be marking static
> > methods. Searching around the python documentation i found that a static
> > method "foo" should be marked by:
> >
> > foo=staticmethod(foo)
> >
> > Applying this to the four methods and deleting "@staticmethod" yields a
> > file that compiles. I have no idea if this is what was meant.
>
> which version of python do you run?
>
>
> --
> Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen
>
--
Bernard Hurley <address@hidden>