[EMAIL PROTECTED] writes:

> I've heard that a 'str' object is immutable. But is there *any* way to
> modify a string's internal value?

If there were, it would not be immutable. The 'str' type has only
immutable values.

You could implement your own string type, and have it allow mutable
values. You'd have to take care of creating those values explicitly,
though.

-- 
 \         “Pinky, are you pondering what I'm pondering?” “I think so, |
  `\      Brain, but shouldn't the bat boy be wearing a cape?” —_Pinky |
_o__)                                                   and The Brain_ |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to