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

Commit0ed2a24

Browse files
gomezgleonardobrtobarcmaureir
authored
Traducido archivo library/ast (#2703)
Closes#2623---------Co-authored-by: rtobar <rtobarc@gmail.com>Co-authored-by: Cristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>Co-authored-by: Cristián Maureira-Fredes <cmaureir@users.noreply.github.com>
1 parent7a16d04 commit0ed2a24

File tree

1 file changed

+56
-25
lines changed

1 file changed

+56
-25
lines changed

‎library/ast.po

Lines changed: 56 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,16 @@ msgstr ""
1111
"Project-Id-Version:Python 3.8\n"
1212
"Report-Msgid-Bugs-To:\n"
1313
"POT-Creation-Date:2023-10-12 19:43+0200\n"
14-
"PO-Revision-Date:2022-10-30 22:11-0300\n"
14+
"PO-Revision-Date:2023-10-22 21:17-0500\n"
1515
"Last-Translator:Marco Richetta <marcorichetta@gmail.com>\n"
16-
"Language:es\n"
1716
"Language-Team:python-doc-es\n"
18-
"Plural-Forms:nplurals=2; plural=(n != 1);\n"
17+
"Language:es\n"
1918
"MIME-Version:1.0\n"
2019
"Content-Type:text/plain; charset=utf-8\n"
2120
"Content-Transfer-Encoding:8bit\n"
21+
"Plural-Forms:nplurals=2; plural=(n != 1);\n"
2222
"Generated-By:Babel 2.13.0\n"
23+
"X-Generator:Poedit 2.3\n"
2324

2425
#:../Doc/library/ast.rst:2
2526
msgid":mod:`ast` --- Abstract Syntax Trees"
@@ -246,65 +247,84 @@ msgstr ""
246247

247248
#:../Doc/library/ast.rst:153
248249
msgid"Root nodes"
249-
msgstr""
250+
msgstr"Nodos raíz"
250251

251252
#:../Doc/library/ast.rst:157
252253
msgid""
253254
"A Python module, as with :ref:`file input <file-input>`. Node type generated "
254255
"by :func:`ast.parse` in the default ``\"exec\"`` *mode*."
255256
msgstr""
257+
"Un módulo de Python, como con :ref:`archivo-entrada <file-input>`. Tipo de "
258+
"nodo generado por :func:`ast.parse` en el modo por defecto ``\"exec\"`` "
259+
"*mode*.*mode*."
256260

257261
#:../Doc/library/ast.rst:160
258262
msgid"*body* is a :class:`list` of the module's :ref:`ast-statements`."
259-
msgstr""
263+
msgstr"*body* es una :class:`list` de las :ref:`ast-statements` del módulo."
260264

261265
#:../Doc/library/ast.rst:162
262266
msgid""
263267
"*type_ignores* is a :class:`list` of the module's type ignore comments; see :"
264268
"func:`ast.parse` for more details."
265269
msgstr""
270+
"*type_ignores* es una :class:`list` de los comentarios para ignorar tipos "
271+
"del módulo; véase :func:`ast.parse` para más detalles."
266272

267273
#:../Doc/library/ast.rst:179
268274
msgid""
269275
"A single Python :ref:`expression input <expression-input>`. Node type "
270276
"generated by :func:`ast.parse` when *mode* is ``\"eval\"``."
271277
msgstr""
278+
"Una única :ref:`expression input <expression-input>` de Python. Tipo de nodo "
279+
"generado por :func:`ast.parse` cuando *mode* es ``\"eval\"``."
272280

273281
#:../Doc/library/ast.rst:182
274282
msgid""
275283
"*body* is a single node, one of the :ref:`expression types <ast-"
276284
"expressions>`."
277285
msgstr""
286+
"*body* es un único nodo, uno de los :ref:`tipos de expresión <ast-"
287+
"expressions>`."
278288

279289
#:../Doc/library/ast.rst:194
280290
msgid""
281291
"A single :ref:`interactive input <interactive>`, like in :ref:`tut-interac`. "
282292
"Node type generated by :func:`ast.parse` when *mode* is ``\"single\"``."
283293
msgstr""
294+
"Una única :ref:`entrada interactiva <interactive>`, como en :ref:`tut-"
295+
"interac`. Tipo de nodo generado por :func:`ast.parse` cuando *mode* es "
296+
"``\"single\"``."
284297

285298
#:../Doc/library/ast.rst:197
286299
msgid"*body* is a :class:`list` of :ref:`statement nodes <ast-statements>`."
287300
msgstr""
301+
"*body* es una :class:`list` de :ref:`nodos de declaración <ast-statements>`."
288302

289303
#:../Doc/library/ast.rst:216
290304
msgid""
291305
"A representation of an old-style type comments for functions, as Python "
292306
"versions prior to 3.5 didn't support :pep:`484` annotations. Node type "
293307
"generated by :func:`ast.parse` when *mode* is ``\"func_type\"``."
294308
msgstr""
309+
"Una interpretación de un comentario de tipo de estilo antiguo para "
310+
"funciones, ya que las versiones de Python anteriores a la 3.5 no soportaban "
311+
"anotaciones :pep:`484`. Tipo de nodo generado por :func:`ast.parse` cuando "
312+
"*mode* es ``\"func_type\"``."
295313

296314
#:../Doc/library/ast.rst:220
297315
msgid"Such type comments would look like this::"
298-
msgstr""
316+
msgstr"Los comentarios de este tipo tendrían el siguiente aspecto::"
299317

300318
#:../Doc/library/ast.rst:226
301319
msgid""
302320
"*argtypes* is a :class:`list` of :ref:`expression nodes <ast-expressions>`."
303321
msgstr""
322+
"*argtypes* es una :class:`list` de :ref:`nodos de expresión <ast-"
323+
"expressions>`."
304324

305325
#:../Doc/library/ast.rst:228
306326
msgid"*returns* is a single :ref:`expression node <ast-expressions>`."
307-
msgstr""
327+
msgstr"*returns* es un único :ref:`nodo de expresión <ast-expressions>`."
308328

309329
#:../Doc/library/ast.rst:246
310330
msgid"Literals"
@@ -542,22 +562,20 @@ msgid "``args`` holds a list of the arguments passed by position."
542562
msgstr"``args`` contiene una lista de argumentos pasados por posición."
543563

544564
#:../Doc/library/ast.rst:588
545-
#,fuzzy
546565
msgid""
547566
"``keywords`` holds a list of :class:`.keyword` objects representing "
548567
"arguments passed by keyword."
549568
msgstr""
550-
"``keywords`` contiene una lista de objetos :class:`keyword` que representan "
569+
"``keywords`` contiene una lista de objetos :class:`.keyword` que representan "
551570
"argumentos pasados por nombre clave."
552571

553572
#:../Doc/library/ast.rst:591
554-
#,fuzzy
555573
msgid""
556574
"When creating a ``Call`` node, ``args`` and ``keywords`` are required, but "
557575
"they can be empty lists."
558576
msgstr""
559577
"Cuando se crea un nodo ``Call``, ``args`` y ``keywords`` son requeridos pero "
560-
"pueden ser listas vacías. ``starargs`` y ``kwargs`` son opcionales."
578+
"pueden ser listas vacías."
561579

562580
#:../Doc/library/ast.rst:615
563581
msgid""
@@ -767,6 +785,10 @@ msgid ""
767785
"ref:`type parameters <ast-type-params>`, and ``value`` is the value of the "
768786
"type alias."
769787
msgstr""
788+
"Un alias :ref:`type alias <type-aliases>` creado mediante la sentencia :"
789+
"keyword:`type`. ``name`` es el nombre del alias, ``type_params`` es una "
790+
"lista de parámetros :ref:`type <ast-type-params>`, y ``value`` es el valor "
791+
"del alias de tipo."
770792

771793
#:../Doc/library/ast.rst:1042
772794
msgid""
@@ -837,7 +859,6 @@ msgstr ""
837859
"nodo anterior."
838860

839861
#:../Doc/library/ast.rst:1152
840-
#,fuzzy
841862
msgid""
842863
"A ``for`` loop. ``target`` holds the variable(s) the loop assigns to, as a "
843864
"single :class:`Name`, :class:`Tuple`, :class:`List`, :class:`Attribute` or :"
@@ -846,12 +867,13 @@ msgid ""
846867
"Those in ``orelse`` are executed if the loop finishes normally, rather than "
847868
"via a ``break`` statement."
848869
msgstr""
849-
"Un bucle ``for``. ``target`` contiene la(s) variable(s) donde asigna el "
850-
"bucle como un único nodo :class:`Name`, :class:`Tuple` o :class:`List`. "
851-
"``iter`` contiene el item por el cual se va recorrer como un único nodo. "
852-
"``body`` y ``orelse`` contienen una lista de nodos a ejecutar. Aquellos en "
853-
"``orelse`` son ejecutados si el bucle termina normalmente, en contra de si "
854-
"terminan utilizando la declaración ``break``."
870+
"Un bucle ``for``. ``target`` contiene las variables a las que asigna el "
871+
"bucle, como un único nodo :class:`Name`, :class:`Tuple`, :class:`List`, :"
872+
"class:`Attribute` o :class:`Subscript`. ``iter`` contiene el elemento sobre "
873+
"el que se realizará el bucle, nuevamente como un solo nodo. ``body`` y "
874+
"``orelse`` contienen listas de nodos para ejecutar. Los de ``orelse`` se "
875+
"ejecutan si el ciclo finaliza normalmente, en lugar de mediante una "
876+
"instrucción ``break``."
855877

856878
#:../Doc/library/ast.rst:1187
857879
msgid""
@@ -1116,32 +1138,42 @@ msgstr ""
11161138

11171139
#:../Doc/library/ast.rst:1793
11181140
msgid"Type parameters"
1119-
msgstr""
1141+
msgstr"Tipos de parámetro"
11201142

11211143
#:../Doc/library/ast.rst:1795
11221144
msgid""
11231145
":ref:`Type parameters <type-params>` can exist on classes, functions, and "
11241146
"type aliases."
11251147
msgstr""
1148+
"\":ref:`Parámetros de tipo <type-params>` pueden existir en clases, "
1149+
"funciones y tipos de alias\""
11261150

11271151
#:../Doc/library/ast.rst:1800
11281152
msgid""
11291153
"A :class:`typing.TypeVar`. ``name`` is the name of the type variable. "
11301154
"``bound`` is the bound or constraints, if any. If ``bound`` is a :class:"
11311155
"`Tuple`, it represents constraints; otherwise it represents the bound."
11321156
msgstr""
1157+
"Una :class:`typing.TypeVar`. ``name`` es el nombre de la variable de tipo. "
1158+
"``bound`` es el límite o las restricciones, si las hay. Si ``bound`` es una :"
1159+
"class:`Tuple`, representa las restricciones; en caso contrario, representa "
1160+
"el límite."
11331161

11341162
#:../Doc/library/ast.rst:1825
11351163
msgid""
11361164
"A :class:`typing.ParamSpec`. ``name`` is the name of the parameter "
11371165
"specification."
11381166
msgstr""
1167+
"Una :class:`typing.ParamSpec`. ``name`` es el nombre de la especificación "
1168+
"del parámetro."
11391169

11401170
#:../Doc/library/ast.rst:1850
11411171
msgid""
11421172
"A :class:`typing.TypeVarTuple`. ``name`` is the name of the type variable "
11431173
"tuple."
11441174
msgstr""
1175+
"Una :class:`typing.TypeVarTuple`. ``name`` es el nombre de la tupla variable "
1176+
"de tipo."
11451177

11461178
#:../Doc/library/ast.rst:1875
11471179
msgid"Function and class definitions"
@@ -1180,11 +1212,12 @@ msgstr "``returns`` es la anotación de retorno."
11801212
#:../Doc/library/ast.rst:1887../Doc/library/ast.rst:2065
11811213
msgid"``type_params`` is a list of :ref:`type parameters <ast-type-params>`."
11821214
msgstr""
1215+
"``type_params`` es una lista de :ref:`parametros de tipo <ast-type-params>`."
11831216

11841217
#:../Doc/library/ast.rst:1893../Doc/library/ast.rst:2094
11851218
#:../Doc/library/ast.rst:2105
11861219
msgid"Added ``type_params``."
1187-
msgstr""
1220+
msgstr"Se ha añadido ``type_params``."
11881221

11891222
#:../Doc/library/ast.rst:1899
11901223
msgid""
@@ -1285,13 +1318,12 @@ msgstr ""
12851318
"explícitamente."
12861319

12871320
#:../Doc/library/ast.rst:2059
1288-
#,fuzzy
12891321
msgid""
12901322
"``keywords`` is a list of :class:`.keyword` nodes, principally for "
12911323
"'metaclass'. Other keywords will be passed to the metaclass, as per "
12921324
"`PEP-3115 <https://peps.python.org/pep-3115/>`_."
12931325
msgstr""
1294-
"``keywords`` es una lista de nodos :class:`keyword`, principalmente para "
1326+
"``keywords`` es una lista de nodos :class:`.keyword`, principalmente para "
12951327
"'metaclase'. Otras palabras clave se pasarán a la metaclase, según `PEP-3115 "
12961328
"<https://peps.python.org/pep-3115/>`_."
12971329

@@ -1975,16 +2007,15 @@ msgstr ""
19752007

19762008
#:../Doc/library/ast.rst:59
19772009
msgid"? (question mark)"
1978-
msgstr""
2010+
msgstr"? (question mark)"
19792011

19802012
#:../Doc/library/ast.rst:59../Doc/library/ast.rst:60
1981-
#,fuzzy
19822013
msgid"in AST grammar"
19832014
msgstr"Gramática abstracta"
19842015

19852016
#:../Doc/library/ast.rst:60
19862017
msgid"* (asterisk)"
1987-
msgstr""
2018+
msgstr"* (asterisk)"
19882019

19892020
#~ msgid ""
19902021
#~ "``starargs`` and ``kwargs`` are each a single node, as in a function "

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp