[newbie] A question about lists and strings

Mok-Kong Shen mok-kong.shen at t-online.de
Fri Aug 10 06:31:08 EDT 2012


Am 10.08.2012 12:07, schrieb Dave Angel:
[snip]
> At this point, in top-level code, the listb object has been modified,
> and the strb one has not;  it still is bound to the old value.

This means there is no way of modifying a string at the top level
via a function, excepting through returning a new value and assigning
that to the string name at the top level. Please again correct me, if
I am wrong.

M. K. Shen




More information about the Python-list mailing list