Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd136d34

Browse files
authored
Merge pull request#217 from cmaureir/traduccion-function
2 parentse05d88e +f924908 commitd136d34

File tree

2 files changed

+44
-10
lines changed

2 files changed

+44
-10
lines changed

‎c-api/function.po

Lines changed: 43 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,51 +6,61 @@
66
# Check https://github.com/PyCampES/python-docs-es/blob/3.8/TRANSLATORS to
77
# get the list of volunteers
88
#
9-
#,fuzzy
109
msgid ""
1110
msgstr ""
1211
"Project-Id-Version:Python 3.8\n"
1312
"Report-Msgid-Bugs-To:\n"
1413
"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"
1715
"Language-Team:python-doc-es\n"
1816
"MIME-Version:1.0\n"
19-
"Content-Type:text/plain; charset=utf-8\n"
17+
"Content-Type:text/plain; charset=UTF-8\n"
2018
"Content-Transfer-Encoding:8bit\n"
2119
"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"
2224

2325
#:../Doc/c-api/function.rst:6
2426
msgid"Function Objects"
25-
msgstr""
27+
msgstr"Objetos función"
2628

2729
#:../Doc/c-api/function.rst:10
2830
msgid"There are a few functions specific to Python functions."
29-
msgstr""
31+
msgstr"Hay algunas funciones específicas para las funciones de Python."
3032

3133
#:../Doc/c-api/function.rst:15
3234
msgid"The C structure used for functions."
33-
msgstr""
35+
msgstr"La estructura C utilizada para las funciones."
3436

3537
#:../Doc/c-api/function.rst:22
3638
msgid""
3739
"This is an instance of :c:type:`PyTypeObject` and represents the Python "
3840
"function type. It is exposed to Python programmers as ``types."
3941
"FunctionType``."
4042
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``."
4146

4247
#:../Doc/c-api/function.rst:28
4348
msgid""
4449
"Return true if *o* is a function object (has type :c:data:"
4550
"`PyFunction_Type`). The parameter must not be ``NULL``."
4651
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``."
4754

4855
#:../Doc/c-api/function.rst:34
4956
msgid""
5057
"Return a new function object associated with the code object *code*. "
5158
"*globals* must be a dictionary with the global variables accessible to the "
5259
"function."
5360
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."
5464

5565
#:../Doc/c-api/function.rst:37
5666
msgid""
@@ -59,6 +69,10 @@ msgid ""
5969
"and closure are set to ``NULL``. *__qualname__* is set to the same value as "
6070
"the function's name."
6171
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."
6276

6377
#:../Doc/c-api/function.rst:44
6478
msgid""
@@ -67,59 +81,78 @@ msgid ""
6781
"``NULL``; if ``NULL``, the ``__qualname__`` attribute is set to the same "
6882
"value as its ``__name__`` attribute."
6983
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__``."
7088

7189
#:../Doc/c-api/function.rst:54
7290
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*."
7492

7593
#:../Doc/c-api/function.rst:59
7694
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*."
7896

7997
#:../Doc/c-api/function.rst:64
8098
msgid""
8199
"Return the *__module__* attribute of the function object *op*. This is "
82100
"normally a string containing the module name, but can be set to any other "
83101
"object by Python code."
84102
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."
85106

86107
#:../Doc/c-api/function.rst:71
87108
msgid""
88109
"Return the argument default values of the function object *op*. This can be "
89110
"a tuple of arguments or ``NULL``."
90111
msgstr""
112+
"Retorna los valores predeterminados del argumento del objeto función *op*. "
113+
"Esto puede ser una tupla de argumentos o ``NULL``."
91114

92115
#:../Doc/c-api/function.rst:77
93116
msgid""
94117
"Set the argument default values for the function object *op*. *defaults* "
95118
"must be ``Py_None`` or a tuple."
96119
msgstr""
120+
"Establece los valores predeterminados del argumento para el objeto función "
121+
"*op*. *defaults* deben ser ``Py_None`` o una tupla."
97122

98123
#:../Doc/c-api/function.rst:80../Doc/c-api/function.rst:94
99124
#:../Doc/c-api/function.rst:108
100125
msgid"Raises :exc:`SystemError` and returns ``-1`` on failure."
101-
msgstr""
126+
msgstr"Lanza :exc:`SystemError` y retorna ``-1`` en caso de error."
102127

103128
#:../Doc/c-api/function.rst:85
104129
msgid""
105130
"Return the closure associated with the function object *op*. This can be "
106131
"``NULL`` or a tuple of cell objects."
107132
msgstr""
133+
"Retorna el cierre asociado con el objeto función *op*. Esto puede ser "
134+
"``NULL`` o una tupla de objetos celda."
108135

109136
#:../Doc/c-api/function.rst:91
110137
msgid""
111138
"Set the closure associated with the function object *op*. *closure* must be "
112139
"``Py_None`` or a tuple of cell objects."
113140
msgstr""
141+
"Establece el cierre asociado con el objeto función *op*. *cierre* debe ser "
142+
"``Py_None`` o una tupla de objetos celda."
114143

115144
#:../Doc/c-api/function.rst:99
116145
msgid""
117146
"Return the annotations of the function object *op*. This can be a mutable "
118147
"dictionary or ``NULL``."
119148
msgstr""
149+
"Retorna las anotaciones del objeto función *op*. Este puede ser un "
150+
"diccionario mutable o ``NULL``."
120151

121152
#:../Doc/c-api/function.rst:105
122153
msgid""
123154
"Set the annotations for the function object *op*. *annotations* must be a "
124155
"dictionary or ``Py_None``."
125156
msgstr""
157+
"Establece las anotaciones para el objeto función *op*. *annotations* debe "
158+
"ser un diccionario o ``Py_None``."

‎dict

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ tty
279279
tupla
280280
tuplas
281281
tutorial
282+
unicode
282283
uninstall
283284
vía
284285
wchar

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp