summaryrefslogtreecommitdiffhomepage
path: root/es-es
diff options
context:
space:
mode:
Diffstat (limited to 'es-es')
-rw-r--r--es-es/python-es.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/es-es/python-es.html.markdown b/es-es/python-es.html.markdown
index 0b21e479..a8f01089 100644
--- a/es-es/python-es.html.markdown
+++ b/es-es/python-es.html.markdown
@@ -421,7 +421,7 @@ map(sumar_10, [1,2,3]) #=> [11, 12, 13]
filter(lambda x: x > 5, [3, 4, 5, 6, 7]) #=> [6, 7]
# Podemos usar listas por comprensiĆ³n para mapeos y filtros agradables
-[add_10(i) for i in [1, 2, 3]] #=> [11, 12, 13]
+[sumar_10(i) for i in [1, 2, 3]] #=> [11, 12, 13]
[x for x in [3, 4, 5, 6, 7] if x > 5] #=> [6, 7]
# tambiƩn hay diccionarios
{k:k**2 for k in range(3)} #=> {0: 0, 1: 1, 2: 4}