|
From: dperez <cra...@ya...> - 2007-08-29 08:02:55
|
Hi,
If I run this code from the Jython 2.2 interactive console :
'a'.__cmp__('b')
this is what happens:
AttributeError: 'string' object has no attribute '__cmp__'
This used to work in Jython 2.1.
I don't understand what this happens, as the PyString class does have this
method: __cmp__()
Is this a bug?
Regards,
David
--
View this message in context: http://www.nabble.com/AttributeError%3A-%27string%27-object-has-no-attribute-%27__cmp__%27-tf4346266.html#a12382403
Sent from the jython-users mailing list archive at Nabble.com.
|