2013/2/21 Guido Trotter <[email protected]>:
> On Thu, Feb 21, 2013 at 9:54 AM, Michael Hanselmann <[email protected]> wrote:
>> 2013/2/21 Guido Trotter <[email protected]>:
>>> Mmm, looking at this again: how can I use it in this case? I can't put
>>> the "if" before the class definition.
>>
>> Why not?
>>
>
> if python >= 2.5:
>   class ....
>     ....
>     ....
>
>
> not sure, looks bad? :)

I think it's fine for this one-off and temporary case. Alternatively,
just update the documentation (and configure.ac IIRC) to require
Python 2.5 and you don't need it.

Michael

Reply via email to