passing by refference
Aahz
aahz at pythoncraft.com
Fri May 16 14:02:57 EDT 2003
In article <87znlng7cf.fsf at charter.net>,
Doug Quale <quale1 at charter.net> wrote:
>
>If you don't agree that this describes call-by-value argument passing,
>tell us what Python does differently. Be very specific.
All right, you explain this:
>>> x = 'foo'
>>> '%s' % (x,)
What gets printed by the %s?
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"In many ways, it's a dull language, borrowing solid old concepts from
many other languages & styles: boring syntax, unsurprising semantics,
few automatic coercions, etc etc. But that's one of the things I like
about it." --Tim Peters on Python, 16 Sep 93
More information about the Python-list
mailing list