gah! I hate the new string syntax

Pieter Nagel pieter at nagel.co.za
Fri Mar 16 09:49:07 EST 2001


On Fri, 16 Mar 2001, Alex Martelli wrote:

> "Pieter Nagel" <pieter at nagel.co.za> wrote in message
> news:Pine.LNX.4.21.0103161339210.2809-100000 at bast.jhb.equinox.co.za...
>     [snip]
> > Of course you can. The technique is to modify the String class itself
> 
> It's not a class.  It's a non-class type, and does not support
> modification.

Yes. But the author I responded to said "assuming that String is a
class, not a type". My answer was made within the context of that
assumption.

-- 
     ,_
     /_)              /| /
    /   i e t e r    / |/ a g e l




More information about the Python-list mailing list