@@ -9,7 +9,7 @@ msgstr ""
9
9
"Project-Id-Version : Python 3.7\n "
10
10
"Report-Msgid-Bugs-To : \n "
11
11
"POT-Creation-Date : 2019-05-06 11:59-0400\n "
12
- "PO-Revision-Date : 2020-05-07 10:04 +0200\n "
12
+ "PO-Revision-Date : 2020-05-07 10:23 +0200\n "
13
13
"Language-Team : python-doc-es (https://mail.python.org/mailman3/lists/docs-es. "
14
14
"python.org)\n "
15
15
"MIME-Version : 1.0\n "
@@ -30,7 +30,7 @@ msgid ""
30
30
"that are always available. They are listed here in alphabetical order."
31
31
msgstr ""
32
32
"El intérprete de Python tiene una serie de funciones y tipos incluidos en él "
33
- "que están siempre disponibles. Están listados aquí en orden alfabético. "
33
+ "que están siempre disponibles. Están listados aquí en orden alfabético."
34
34
35
35
#: ../Doc/library/functions.rst:13
36
36
msgid ":func:`abs`"
@@ -363,7 +363,7 @@ msgid ""
363
363
"If prefix \" 0b\" is desired or not, you can use either of the following ways."
364
364
msgstr ""
365
365
"Según se desee o no el prefijo “0b”, se puede usar uno u otro de las "
366
- "siguientes maneras: "
366
+ "siguientes maneras. "
367
367
368
368
#: ../Doc/library/functions.rst:101 ../Doc/library/functions.rst:703
369
369
#: ../Doc/library/functions.rst:963
@@ -690,7 +690,9 @@ msgid ""
690
690
"Without arguments, return the list of names in the current local scope. "
691
691
"With an argument, attempt to return a list of valid attributes for that "
692
692
"object."
693
- msgstr "Sin argumentos, devuelve la lista de nombres en el ámbito local."
693
+ msgstr ""
694
+ "Sin argumentos, devuelve la lista de nombres en el ámbito local. Con un "
695
+ "argumento, intenta devolver una lista de atributos válidos para ese objeto."
694
696
695
697
#: ../Doc/library/functions.rst:343
696
698
msgid ""
@@ -699,6 +701,11 @@ msgid ""
699
701
"custom :func:`__getattr__` or :func:`__getattribute__` function to customize "
700
702
"the way :func:`dir` reports their attributes."
701
703
msgstr ""
704
+ "Si el objeto tiene un método llamado :meth:`__dir__`, éste será llamado y "
705
+ "debe devolver la lista de atributos. Esto permite que los objetos que "
706
+ "implementan una función personalizada :func:`__getattr__` o :func:"
707
+ "`__getattribute__` puedan decidir la manera en la que :func:`dir` reporta "
708
+ "sus atributos."
702
709
703
710
#: ../Doc/library/functions.rst:348
704
711
msgid ""
@@ -708,6 +715,11 @@ msgid ""
708
715
"complete, and may be inaccurate when the object has a custom :func:"
709
716
"`__getattr__`."
710
717
msgstr ""
718
+ "Si el objeto no provee de un método :meth:`__dir__`, la función intenta "
719
+ "obtener la información del atributo :attr:`~object.__dict__` del objeto, si "
720
+ "está definido, y de su objeto type. La lista resultante no está "
721
+ "necesariamente completa, y puede ser inexacta cuando el objeto tiene una "
722
+ "función :func:`__getattr__` implementada."
711
723
712
724
#: ../Doc/library/functions.rst:353
713
725
msgid ""
0 commit comments