2008-05-12から1日間の記事一覧
http://blog.miraclelinux.com/asianpen/2008/05/python-code-rea.html#more でも実験されていますが、もう少し細かいケースで試してみました。scope_test.py def with_local(num): l = [] l_value = True for i in xrange(num): l.append(l_value) def with…
http://blog.miraclelinux.com/asianpen/2008/05/python-code-rea.html#more でも実験されていますが、もう少し細かいケースで試してみました。scope_test.py def with_local(num): l = [] l_value = True for i in xrange(num): l.append(l_value) def with…