6
6
# Check https://github.com/PyCampES/python-docs-es/blob/3.8/TRANSLATORS to
7
7
# get the list of volunteers
8
8
#
9
- #, fuzzy
10
9
msgid ""
11
10
msgstr ""
12
11
"Project-Id-Version : Python 3.8\n "
13
12
"Report-Msgid-Bugs-To : \n "
14
13
"POT-Creation-Date : 2020-05-05 12:54+0200\n "
15
- "PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
16
- "Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
14
+ "PO-Revision-Date : 2020-05-10 16:22+0200\n "
17
15
"Language-Team : python-doc-es\n "
18
16
"MIME-Version : 1.0\n "
19
- "Content-Type : text/plain; charset=utf -8\n "
17
+ "Content-Type : text/plain; charset=UTF -8\n "
20
18
"Content-Transfer-Encoding : 8bit\n "
21
19
"Generated-By : Babel 2.8.0\n "
20
+ "Plural-Forms : nplurals=2; plural=(n != 1);\n "
21
+ "Last-Translator : Cristián Maureira-Fredes <cmaureirafredes@gmail.com>\n "
22
+ "Language : es\n "
23
+ "X-Generator : Poedit 2.3\n "
22
24
23
25
#: ../Doc/c-api/function.rst:6
24
26
msgid "Function Objects"
25
- msgstr ""
27
+ msgstr "Objetos función "
26
28
27
29
#: ../Doc/c-api/function.rst:10
28
30
msgid "There are a few functions specific to Python functions."
29
- msgstr ""
31
+ msgstr "Hay algunas funciones específicas para las funciones de Python. "
30
32
31
33
#: ../Doc/c-api/function.rst:15
32
34
msgid "The C structure used for functions."
33
- msgstr ""
35
+ msgstr "La estructura C utilizada para las funciones. "
34
36
35
37
#: ../Doc/c-api/function.rst:22
36
38
msgid ""
37
39
"This is an instance of :c:type:`PyTypeObject` and represents the Python "
38
40
"function type. It is exposed to Python programmers as ``types."
39
41
"FunctionType``."
40
42
msgstr ""
43
+ "Esta es una instancia de :c:type:`PyTypeObject` y representa el tipo función "
44
+ "de Python. Está expuesto a los programadores de Python como ``types."
45
+ "FunctionType``."
41
46
42
47
#: ../Doc/c-api/function.rst:28
43
48
msgid ""
44
49
"Return true if *o* is a function object (has type :c:data:"
45
50
"`PyFunction_Type`). The parameter must not be ``NULL``."
46
51
msgstr ""
52
+ "Retorna verdadero si *o* es un objeto función (tiene tipo :c:data:"
53
+ "`PyFunction_Type`). El parámetro no debe ser ``NULL``."
47
54
48
55
#: ../Doc/c-api/function.rst:34
49
56
msgid ""
50
57
"Return a new function object associated with the code object *code*. "
51
58
"*globals* must be a dictionary with the global variables accessible to the "
52
59
"function."
53
60
msgstr ""
61
+ "Retorna un nuevo objeto función asociado con el objeto código *code*. "
62
+ "*globals* debe ser un diccionario con las variables globales accesibles para "
63
+ "la función."
54
64
55
65
#: ../Doc/c-api/function.rst:37
56
66
msgid ""
@@ -59,6 +69,10 @@ msgid ""
59
69
"and closure are set to ``NULL``. *__qualname__* is set to the same value as "
60
70
"the function's name."
61
71
msgstr ""
72
+ "El docstring y el nombre de la función se obtiene del objeto código. "
73
+ "*__module__* se obtiene de *globals *. El argumento *defaults*, "
74
+ "*annotations* y *closure* se establecen en ``NULL``. *__qualname__* se "
75
+ "establece en el mismo valor que el nombre de la función."
62
76
63
77
#: ../Doc/c-api/function.rst:44
64
78
msgid ""
@@ -67,59 +81,78 @@ msgid ""
67
81
"``NULL``; if ``NULL``, the ``__qualname__`` attribute is set to the same "
68
82
"value as its ``__name__`` attribute."
69
83
msgstr ""
84
+ "Como :c:func:`PyFunction_New`, pero también permite configurar el atributo "
85
+ "``__qualname__`` del objeto función. *qualname* debe ser un objeto unicode o "
86
+ "``NULL``; si es ``NULL``, el atributo ``__qualname__`` se establece en el "
87
+ "mismo valor que su atributo ``__name__``."
70
88
71
89
#: ../Doc/c-api/function.rst:54
72
90
msgid "Return the code object associated with the function object *op*."
73
- msgstr ""
91
+ msgstr "Retorna el objeto código asociado con el objeto función *op*. "
74
92
75
93
#: ../Doc/c-api/function.rst:59
76
94
msgid "Return the globals dictionary associated with the function object *op*."
77
- msgstr ""
95
+ msgstr "Retorna el diccionario global asociado con el objeto función *op*. "
78
96
79
97
#: ../Doc/c-api/function.rst:64
80
98
msgid ""
81
99
"Return the *__module__* attribute of the function object *op*. This is "
82
100
"normally a string containing the module name, but can be set to any other "
83
101
"object by Python code."
84
102
msgstr ""
103
+ "Retorna el atributo *__module__* del objeto función *op*. Normalmente es una "
104
+ "cadena de caracteres que contiene el nombre del módulo, pero se puede "
105
+ "establecer en cualquier otro objeto mediante el código Python."
85
106
86
107
#: ../Doc/c-api/function.rst:71
87
108
msgid ""
88
109
"Return the argument default values of the function object *op*. This can be "
89
110
"a tuple of arguments or ``NULL``."
90
111
msgstr ""
112
+ "Retorna los valores predeterminados del argumento del objeto función *op*. "
113
+ "Esto puede ser una tupla de argumentos o ``NULL``."
91
114
92
115
#: ../Doc/c-api/function.rst:77
93
116
msgid ""
94
117
"Set the argument default values for the function object *op*. *defaults* "
95
118
"must be ``Py_None`` or a tuple."
96
119
msgstr ""
120
+ "Establece los valores predeterminados del argumento para el objeto función "
121
+ "*op*. *defaults* deben ser ``Py_None`` o una tupla."
97
122
98
123
#: ../Doc/c-api/function.rst:80 ../Doc/c-api/function.rst:94
99
124
#: ../Doc/c-api/function.rst:108
100
125
msgid "Raises :exc:`SystemError` and returns ``-1`` on failure."
101
- msgstr ""
126
+ msgstr "Lanza :exc:`SystemError` y retorna ``-1`` en caso de error. "
102
127
103
128
#: ../Doc/c-api/function.rst:85
104
129
msgid ""
105
130
"Return the closure associated with the function object *op*. This can be "
106
131
"``NULL`` or a tuple of cell objects."
107
132
msgstr ""
133
+ "Retorna el cierre asociado con el objeto función *op*. Esto puede ser "
134
+ "``NULL`` o una tupla de objetos celda."
108
135
109
136
#: ../Doc/c-api/function.rst:91
110
137
msgid ""
111
138
"Set the closure associated with the function object *op*. *closure* must be "
112
139
"``Py_None`` or a tuple of cell objects."
113
140
msgstr ""
141
+ "Establece el cierre asociado con el objeto función *op*. *cierre* debe ser "
142
+ "``Py_None`` o una tupla de objetos celda."
114
143
115
144
#: ../Doc/c-api/function.rst:99
116
145
msgid ""
117
146
"Return the annotations of the function object *op*. This can be a mutable "
118
147
"dictionary or ``NULL``."
119
148
msgstr ""
149
+ "Retorna las anotaciones del objeto función *op*. Este puede ser un "
150
+ "diccionario mutable o ``NULL``."
120
151
121
152
#: ../Doc/c-api/function.rst:105
122
153
msgid ""
123
154
"Set the annotations for the function object *op*. *annotations* must be a "
124
155
"dictionary or ``Py_None``."
125
156
msgstr ""
157
+ "Establece las anotaciones para el objeto función *op*. *annotations* debe "
158
+ "ser un diccionario o ``Py_None``."
0 commit comments