Skip to content

Commit f222c00

Browse files
committed
Traducido archivo library/typing.po
1 parent dcbd474 commit f222c00

File tree

1 file changed

+42
-18
lines changed

1 file changed

+42
-18
lines changed

library/typing.po

Lines changed: 42 additions & 18 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: 2021-03-19 11:16+0100\n"
14-
"PO-Revision-Date: 2020-06-15 10:28+0200\n"
14+
"PO-Revision-Date: 2021-08-11 09:20-0500\n"
1515
"Last-Translator: Héctor Canto <hectorcanto@gmail.com>\n"
1616
"Language: es\n"
1717
"Language-Team: python-doc-es\n"
18-
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
18+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
1919
"MIME-Version: 1.0\n"
2020
"Content-Type: text/plain; charset=utf-8\n"
2121
"Content-Transfer-Encoding: 8bit\n"
2222
"Generated-By: Babel 2.8.0\n"
23+
"X-Generator: Poedit 3.0\n"
2324

2425
#: ../Doc/library/typing.rst:3
2526
msgid ":mod:`typing` --- Support for type hints"
@@ -372,7 +373,6 @@ msgstr ""
372373
"compatible con todos los tipos."
373374

374375
#: ../Doc/library/typing.rst:330
375-
#, fuzzy
376376
msgid ""
377377
"This means that it is possible to perform any operation or method call on a "
378378
"value of type :data:`Any` and assign it to any variable::"
@@ -392,7 +392,7 @@ msgstr ""
392392
"tipo :data:`Any` a un tipo más preciso. Por ejemplo, el Validador estático "
393393
"de tipos no reportó ningún error cuando se asignó ``a`` a ``s``, aún cuando "
394394
"se declaró ``s`` como de tipo :class:`str` y recibió un valor :class:`int` "
395-
"en tiempo de ejecución."
395+
"en tiempo de ejecución!"
396396

397397
#: ../Doc/library/typing.rst:354
398398
msgid ""
@@ -459,7 +459,6 @@ msgstr ""
459459

460460
# Frase ultracompleja, necesitar una revisión fuerte
461461
#: ../Doc/library/typing.rst:408
462-
#, fuzzy
463462
msgid ""
464463
"This requirement previously also applied to abstract base classes, such as :"
465464
"class:`~collections.abc.Iterable`. The problem with this approach is that a "
@@ -468,11 +467,11 @@ msgid ""
468467
"code. For example, this conforms to :pep:`484`::"
469468
msgstr ""
470469
"Este requisito también se aplicaba anteriormente a clases base abstractas "
471-
"(ABC), tales como :class:`Iterable`. El problema con esta estrategia es que "
472-
"una clase debía de ser marcada explícitamente para proporcionar tal "
473-
"funcionalidad, lo que resulta poco *pythónico* (idiomático) y poco ajustado "
474-
"a lo que uno normalmente haría en un código Python tipado dinámicamente. Por "
475-
"ejemplo, esto sí se ajusta al :pep:`484`::"
470+
"(ABC), tales como :class:`~collections.abc.Iterable`. El problema con esta "
471+
"estrategia es que una clase debía de ser marcada explícitamente para "
472+
"proporcionar tal funcionalidad, lo que resulta poco *pythónico* (idiomático) "
473+
"y poco ajustado a lo que uno normalmente haría en un código Python tipado "
474+
"dinámicamente. Por ejemplo, esto sí se ajusta al :pep:`484`::"
476475

477476
#: ../Doc/library/typing.rst:421
478477
msgid ""
@@ -500,12 +499,11 @@ msgstr ""
500499

501500
#: ../Doc/library/typing.rst:442
502501
msgid "Module contents"
503-
msgstr ""
502+
msgstr "Contenido del módulo."
504503

505504
#: ../Doc/library/typing.rst:444
506-
#, fuzzy
507505
msgid "The module defines the following classes, functions and decorators."
508-
msgstr "El módulo define las siguientes clases, funciones y decoradores:"
506+
msgstr "El módulo define las siguientes clases, funciones y decoradores."
509507

510508
#: ../Doc/library/typing.rst:448
511509
msgid ""
@@ -514,6 +512,11 @@ msgid ""
514512
"variables inside ``[]``. These types became redundant in Python 3.9 when the "
515513
"corresponding pre-existing classes were enhanced to support ``[]``."
516514
msgstr ""
515+
"Este módulo define algunos tipos que son subclases de clases que ya existen "
516+
"en la librería estándar, y que además extienden :class:`Generic` para "
517+
"soportar variables de tipo dentro de ``[]``. Estos tipos se vuelven "
518+
"redundantes en Python 3.9 ya que las clases correspondientes fueron "
519+
"mejoradas para soportar ``[]``."
517520

518521
#: ../Doc/library/typing.rst:454
519522
msgid ""
@@ -522,26 +525,34 @@ msgid ""
522525
"checkers will flag the deprecated types when the checked program targets "
523526
"Python 3.9 or newer."
524527
msgstr ""
528+
"Los tipos redundantes están descontinuados con Python 3.9 pero el intérprete "
529+
"no mostrará ninguna advertencia. Se espera que los verificadores de tipo "
530+
"marquen estos tipos como obsoletos cuando el programa a verificar apunte a "
531+
"Python 3.9 o superior."
525532

526533
#: ../Doc/library/typing.rst:459
527534
msgid ""
528535
"The deprecated types will be removed from the :mod:`typing` module in the "
529536
"first Python version released 5 years after the release of Python 3.9.0. See "
530537
"details in :pep:`585`—*Type Hinting Generics In Standard Collections*."
531538
msgstr ""
539+
"Los tipos obsoletos serán removidos del módulo :class:`Generic` en la "
540+
"primera versión de Python que sea lanzada 5 años después del lanzamiento de "
541+
"Python 3.9.0. Véase los detalles en :pep:`585` -- *Sugerencias de tipo "
542+
"genéricas en las Colecciones Estándar*."
532543

533544
#: ../Doc/library/typing.rst:465
534545
msgid "Special typing primitives"
535-
msgstr ""
546+
msgstr "Primitivos especiales de tipado"
536547

537548
#: ../Doc/library/typing.rst:468
538-
#, fuzzy
539549
msgid "Special types"
540-
msgstr "Tipo Optional."
550+
msgstr "Tipos especiales"
541551

542552
#: ../Doc/library/typing.rst:470
543553
msgid "These can be used as types in annotations and do not support ``[]``."
544554
msgstr ""
555+
"Estos pueden ser usados como tipos en anotaciones y no soportan ``[]``."
545556

546557
#: ../Doc/library/typing.rst:474
547558
msgid "Special type indicating an unconstrained type."
@@ -565,13 +576,15 @@ msgstr ""
565576

566577
#: ../Doc/library/typing.rst:493
567578
msgid "Special forms"
568-
msgstr ""
579+
msgstr "Formas especiales"
569580

570581
#: ../Doc/library/typing.rst:495
571582
msgid ""
572583
"These can be used as types in annotations using ``[]``, each having a unique "
573584
"syntax."
574585
msgstr ""
586+
"Estas se pueden usar como anotaciones de tipo usando ``[]``, cada cual tiene "
587+
"una sintaxis única."
575588

576589
#: ../Doc/library/typing.rst:499
577590
msgid ""
@@ -609,6 +622,8 @@ msgid ""
609622
":class:`builtins.tuple <tuple>` now supports ``[]``. See :pep:`585` and :ref:"
610623
"`types-genericalias`."
611624
msgstr ""
625+
":class:`builtins.tuple <tuple>` ahora soporta ``[]``. Véase :pep:`585` y :"
626+
"ref:`types-genericalias`."
612627

613628
#: ../Doc/library/typing.rst:517
614629
msgid "Union type; ``Union[X, Y]`` means either X or Y."
@@ -724,6 +739,8 @@ msgid ""
724739
":class:`collections.abc.Callable` now supports ``[]``. See :pep:`585` and :"
725740
"ref:`types-genericalias`."
726741
msgstr ""
742+
":class:`collections.abc.Callable` ahora soporta ``[]``. Véase :pep:`585` y :"
743+
"ref:`types-genericalias`."
727744

728745
#: ../Doc/library/typing.rst:592
729746
msgid ""
@@ -780,6 +797,8 @@ msgid ""
780797
":class:`builtins.type <type>` now supports ``[]``. See :pep:`585` and :ref:"
781798
"`types-genericalias`."
782799
msgstr ""
800+
":class:`builtins.type <type>` ahora soporta ``[]``. Véase :pep:`585` y :ref:"
801+
"`types-genericalias`."
783802

784803
#: ../Doc/library/typing.rst:638
785804
msgid ""
@@ -809,6 +828,11 @@ msgid ""
809828
"now raise a :exc:`TypeError` exception during equality comparisons if one of "
810829
"their parameters are not :term:`immutable`."
811830
msgstr ""
831+
"``Literal`` ahora elimina los parámetros duplicados. La comparación de "
832+
"igualdad entre objetos ``Literal`` ya no dependen del orden de los "
833+
"parámetros. Los objetos ``Literal`` ahora lanzarán una excepción :exc:"
834+
"`TypeError` durante la comparación de igualdad si uno de sus parámetros no "
835+
"son :term:`immutable`."
812836

813837
#: ../Doc/library/typing.rst:666
814838
msgid "Special type construct to mark class variables."
@@ -877,7 +901,7 @@ msgid ""
877901
"``Annotated`` type allows for both static typechecking of ``T`` (e.g., via "
878902
"mypy or Pyre, which can safely ignore ``x``) together with runtime access to "
879903
"``x`` within a specific application."
880-
msgstr ""
904+
msgstr "Un tipo introducido en :pep:`593` (``Anotaciones flexibles de "
881905

882906
#: ../Doc/library/typing.rst:725
883907
msgid ""

0 commit comments

Comments
 (0)