Python Portability

rantingrick rantingrick at gmail.com
Mon Aug 9 03:56:14 EDT 2010


On Aug 8, 8:03 am, "W. eWatson" <wolftra... at invalid.com> wrote:

> I'm done here.

Well thats just great, now how will we ever know what the one char
change was. Hmm.

>>> a = 'somestring'
>>> -a

Traceback (most recent call last):
  File "<pyshell#2>", line 1, in <module>
    -a
TypeError: bad operand type for unary -: 'str'

Go figure!




More information about the Python-list mailing list