|
From: | Han-Wen Nienhuys |
Subject: | Re: rational.py does not compile ver 2.7.21 /ChangeLog/1.4316/ |
Date: | Mon, 05 Dec 2005 14:07:05 +0100 |
User-agent: | Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) |
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
[Prev in Thread] | Current Thread | [Next in Thread] |