Skip to content

Commit 307c436

Browse files
Traducido archivo library/ast
1 parent 89d3e10 commit 307c436

File tree

1 file changed

+51
-19
lines changed

1 file changed

+51
-19
lines changed

library/ast.po

Lines changed: 51 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ 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-21 15:33-0500\n"
1515
"Last-Translator: Marco Richetta <marcorichetta@gmail.com>\n"
1616
"Language: es\n"
1717
"Language-Team: python-doc-es\n"
@@ -20,6 +20,7 @@ msgstr ""
2020
"Content-Type: text/plain; charset=utf-8\n"
2121
"Content-Transfer-Encoding: 8bit\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 principales"
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*."
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 "
279+
"nodo 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 tipos de :ref:`expression types <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 entrada :ref:`interactive <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,12 +562,11 @@ 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
@@ -767,6 +786,10 @@ msgid ""
767786
"ref:`type parameters <ast-type-params>`, and ``value`` is the value of the "
768787
"type alias."
769788
msgstr ""
789+
"Un alias :ref:`type alias <type-aliases>` creado mediante la sentencia :"
790+
"keyword:`type`. ``name`` es el nombre del alias, ``type_params`` es una "
791+
"lista de parámetros :ref:`type <ast-type-params>`, y ``value`` es el valor "
792+
"del alias de tipo."
770793

771794
#: ../Doc/library/ast.rst:1042
772795
msgid ""
@@ -1116,32 +1139,42 @@ msgstr ""
11161139

11171140
#: ../Doc/library/ast.rst:1793
11181141
msgid "Type parameters"
1119-
msgstr ""
1142+
msgstr "Tipos de parámetro"
11201143

11211144
#: ../Doc/library/ast.rst:1795
11221145
msgid ""
11231146
":ref:`Type parameters <type-params>` can exist on classes, functions, and "
11241147
"type aliases."
11251148
msgstr ""
1149+
":ref:`Type parameters <type-params>` pueden existir en clases, funciones y "
1150+
"alias de tipo."
11261151

11271152
#: ../Doc/library/ast.rst:1800
11281153
msgid ""
11291154
"A :class:`typing.TypeVar`. ``name`` is the name of the type variable. "
11301155
"``bound`` is the bound or constraints, if any. If ``bound`` is a :class:"
11311156
"`Tuple`, it represents constraints; otherwise it represents the bound."
11321157
msgstr ""
1158+
"Una :class:`typing.TypeVar`. ``name`` es el nombre de la variable de tipo. "
1159+
"``bound`` es el límite o las restricciones, si las hay. Si ``bound`` es una :"
1160+
"class:`Tuple`, representa las restricciones; en caso contrario, representa "
1161+
"el límite."
11331162

11341163
#: ../Doc/library/ast.rst:1825
11351164
msgid ""
11361165
"A :class:`typing.ParamSpec`. ``name`` is the name of the parameter "
11371166
"specification."
11381167
msgstr ""
1168+
"Una :class:`typing.ParamSpec`. ``name`` es el nombre de la especificación "
1169+
"del parámetro."
11391170

11401171
#: ../Doc/library/ast.rst:1850
11411172
msgid ""
11421173
"A :class:`typing.TypeVarTuple`. ``name`` is the name of the type variable "
11431174
"tuple."
11441175
msgstr ""
1176+
"Una :class:`typing.TypeVarTuple`. ``name`` es el nombre de la tupla variable "
1177+
"de tipo."
11451178

11461179
#: ../Doc/library/ast.rst:1875
11471180
msgid "Function and class definitions"
@@ -1180,11 +1213,12 @@ msgstr "``returns`` es la anotación de retorno."
11801213
#: ../Doc/library/ast.rst:1887 ../Doc/library/ast.rst:2065
11811214
msgid "``type_params`` is a list of :ref:`type parameters <ast-type-params>`."
11821215
msgstr ""
1216+
"``type_params`` es una lista de :ref:`type parameters <ast-type-params>`."
11831217

11841218
#: ../Doc/library/ast.rst:1893 ../Doc/library/ast.rst:2094
11851219
#: ../Doc/library/ast.rst:2105
11861220
msgid "Added ``type_params``."
1187-
msgstr ""
1221+
msgstr "Se ha añadido ``type_params``."
11881222

11891223
#: ../Doc/library/ast.rst:1899
11901224
msgid ""
@@ -1285,13 +1319,12 @@ msgstr ""
12851319
"explícitamente."
12861320

12871321
#: ../Doc/library/ast.rst:2059
1288-
#, fuzzy
12891322
msgid ""
12901323
"``keywords`` is a list of :class:`.keyword` nodes, principally for "
12911324
"'metaclass'. Other keywords will be passed to the metaclass, as per "
12921325
"`PEP-3115 <https://peps.python.org/pep-3115/>`_."
12931326
msgstr ""
1294-
"``keywords`` es una lista de nodos :class:`keyword`, principalmente para "
1327+
"``keywords`` es una lista de nodos :class:`.keyword`, principalmente para "
12951328
"'metaclase'. Otras palabras clave se pasarán a la metaclase, según `PEP-3115 "
12961329
"<https://peps.python.org/pep-3115/>`_."
12971330

@@ -1816,10 +1849,10 @@ msgstr ""
18161849
#: ../Doc/library/ast.rst:2423
18171850
msgid ""
18181851
"If *indent* is a non-negative integer or string, then the tree will be "
1819-
"pretty-printed with that indent level. An indent level of 0, negative, or "
1820-
"``\"\"`` will only insert newlines. ``None`` (the default) selects the "
1821-
"single line representation. Using a positive integer indent indents that "
1822-
"many spaces per level. If *indent* is a string (such as ``\"\\t\"``), that "
1852+
"pretty-printed with that indent level. An indent level of 0, negative, or ``"
1853+
"\"\"`` will only insert newlines. ``None`` (the default) selects the single "
1854+
"line representation. Using a positive integer indent indents that many "
1855+
"spaces per level. If *indent* is a string (such as ``\"\\t\"``), that "
18231856
"string is used to indent each level."
18241857
msgstr ""
18251858
"Si *indent* es un entero no negativo o una cadena de caracteres, entonces el "
@@ -1975,16 +2008,15 @@ msgstr ""
19752008

19762009
#: ../Doc/library/ast.rst:59
19772010
msgid "? (question mark)"
1978-
msgstr ""
2011+
msgstr "? (question mark)"
19792012

19802013
#: ../Doc/library/ast.rst:59 ../Doc/library/ast.rst:60
1981-
#, fuzzy
19822014
msgid "in AST grammar"
1983-
msgstr "Gramática abstracta"
2015+
msgstr "una Gramática abstracta"
19842016

19852017
#: ../Doc/library/ast.rst:60
19862018
msgid "* (asterisk)"
1987-
msgstr ""
2019+
msgstr "* (asterisk)"
19882020

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

0 commit comments

Comments
 (0)