[Baypiggies] Looking for a newbie nugget presenter for Thursday, Sept 11th

Benjamin Sergeant bsergean at gmail.com
Fri Aug 29 22:05:38 CEST 2008


> Yes, perhaps the new "nonlocal" declaration from PEP 3104 could be
> worked in too?
> - Chris

+1

Explaining the difference between nonlocal, global is a good idea. I
try to think about confusing stuff for C/C++ programmers. The semantic
of the = operator, how do you live without pointers ?

>>> A = [0,1]
>>> def add(A): A.append(2)
...
>>> add(A)
>>> A
[0, 1, 2]

Benjamin.


More information about the Baypiggies mailing list