On 09/05/13 13:10, Albert-Jan Roskam wrote:

class MutableStr(str):
     s = None

Why make s a class variable?
I'd expect it to be an instance attribute.


--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/

_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to