new method for string objects

Andrew Dalke dalke at acm.org
Fri Mar 31 00:14:39 CEST 2000


Hello,

  I know with 1.6 strings will have methods.  If it isn't
already there, I would like to propose an additional method,
"tostring()", which returns itself.

  I'm working on a project which may use array.array of
characters, Numeric.array, or a string, and I would like
to have a way that's guaranteed to return the string
value for the object.

                    Andrew






More information about the Python-list mailing list