copying a string???
fredrik at pythonware.com
Thu Aug 22 15:17:25 CEST 2002
Joe Connellan wrote:
> I have a function that alters the value of a string (written in C). (is
> that bad?)
don't do that.
to quote the documentation, "the [contents of a string] must not
be modified in any way, unless the string was just created using
see the "extending and embedding" and "python/c api" documents
for more info.
More information about the Python-list