Label-Value (was: Re: Inheriting the @ sign from Ruby)
sbrunning at bigfoot.com
Tue Dec 12 12:04:54 EST 2000
> From: Roy Katz [SMTP:katz at Glue.umd.edu]
> Okay! tell me, which are the objects which cannot be modified in
> assume these are int's, long's, float's, etc. Strings, lists,
> dictionaries are call-by-reference. Pardon my choice of diction, but
> against inventing new terminiologies (modified-in-place??).
The correct terminology is mutable (for objects which can be modified in
place), and immutable (for objects which cannot). See
> I want to know where this is documented. Specifically, where is the
> dichotomy of ints/longs/floats vs.
The built-in types are documented here -
<http://www.python.org/doc/current/ref/types.html> - including whether
not they are mutable.
> While I'm brainstorming with Python grammar changes, what about a
> operator. No more of this hokey is-it-modifiable-in-place-or-not
> business. Explicit control is important.
sbrunning at trisystems.co.uk
Sent via Deja.com
More information about the Python-list