changeset 12:cd336cc66aa7

created
author 127.0.0.1
date Thu, 07 Oct 2010 23:43:56 +0200
parents 523560118471
children 7ddf99d427fa
files docs/Domkni%C4%99cia%20-%20Uwaga
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/docs/Domkni%C4%99cia%20-%20Uwaga	Thu Oct 07 23:36:14 2010 +0200
+++ b/docs/Domkni%C4%99cia%20-%20Uwaga	Thu Oct 07 23:43:56 2010 +0200
@@ -1,13 +1,13 @@
 {{{#!python
 >>> def get_lambdas():
 ...     lambdas = []
-...     for l in ['A', 'B', 'C']:
-...         lambdas.append(lambda: l)
+...     for c in ['A', 'B', 'C']:
+...         lambdas.append(lambda: c)
 ...
 ...     return lambdas
 ...
->>> for l in get_lambdas():
->>>     print l()
+>>> for c in get_lambdas():
+>>>     print c()
 C
 C
 C