On Fri, 05 Feb 2010 09:53:33 -0600, David Thole wrote:
> I read thisand am a tiny bit confused about the actual problem.
>
> It's not exactly complex to realize that something like: a = b = array
> that a and b both point to the array.
>
> Logically speaking, I'm not sure how one could assum
["Followup-To:" header set to comp.lang.perl.misc.]
Jürgen Exner wrote:
> David Thole wrote in comp.lang.perl.misc:
>>I read thisand am a tiny bit confused about the actual problem.
>>
>>It's not exactly complex to realize that something like:
>>a = b = array
>>that a and b both point to th
David Thole wrote in comp.lang.perl.misc:
>I read thisand am a tiny bit confused about the actual problem.
>
>It's not exactly complex to realize that something like:
>a = b = array
>that a and b both point to the array.
???
What are you talking about? First of all you should post actual code
I read thisand am a tiny bit confused about the actual problem.
It's not exactly complex to realize that something like:
a = b = array
that a and b both point to the array.
Logically speaking, I'm not sure how one could assume that the same
assignment would yield a and b point to the same dup
Paul Rubin wrote:
Ryan Kelly writes:
I know, I know, do not feed the trolls. But this is just so *wrong*
that I can't help myself.
See: http://xkcd.com/386/
:-)
--
http://mail.python.org/mailman/listinfo/python-list
()On Feb 2, 6:46Â pm, Ryan Kelly wrote:
> > On Tue, 2010-02-02 at 17:28 -0800, Xah Lee wrote:
>
> I know, I know, do not feed the trolls. Â But this is just so *wrong*
> that I can't help myself.
>
> > In Python, there are 2 ways to clear a hash:
>
> No, no there's not. Â There's one way to clear
Ryan Kelly writes:
> I know, I know, do not feed the trolls. But this is just so *wrong*
> that I can't help myself.
See: http://xkcd.com/386/
--
http://mail.python.org/mailman/listinfo/python-list
> On Tue, 2010-02-02 at 17:28 -0800, Xah Lee wrote:
I know, I know, do not feed the trolls. But this is just so *wrong*
that I can't help myself.
> In Python, there are 2 ways to clear a hash:
No, no there's not. There's one way to clear a hash and there's one way
to assign a new object to a
just wrote this essay. Comment & feedback very welcome.
Python's Reference And Internal Model Of Computing Languages
Xah Lee, 2010-02-02
In Python, there are 2 ways to clear a hash: âmyHash = {}â and
âmyHash.clear()â. What is the difference?
â
The difference is that âm