Tuple assignment and generators?
Boris Borcic
bborcic at gmail.com
Fri May 5 07:39:00 EDT 2006
vdrab wrote:
>> """
>> E.g., after "a = 1;
>> b = 1",
>> a and b may or may not refer to the same object with the value one,
>> depending on the implementation,
>> """
>
> But when in a specific implementation this property _does_ hold for
> ints having value 1, I expect the
> same behaviour for ints with other values than 1.
> I guess I'm kind of weird that way.
>
Are you telling us that you *had* read that doc,
and tripped because it says "depending on the implementation",
when it should say "at the choice of the implementation" ?
That's indeed a bit weird, imo.
More information about the Python-list
mailing list