@@ -9,15 +9,16 @@ msgstr ""
99"Project-Id-Version :Python en Español 3.10\n "
1010"Report-Msgid-Bugs-To :\n "
1111"POT-Creation-Date :2024-11-21 16:38-0300\n "
12- "PO-Revision-Date :2021-11-16 22:14-0600\n "
13- "Last-Translator :Erick G. Islas Osuna <erickisos653@gmail.com>\n "
14- "Language :es\n "
12+ "PO-Revision-Date :2025-04-09 22:51+0200\n "
13+ "Last-Translator :David Spindola\n "
1514"Language-Team :\n "
16- "Plural-Forms : nplurals=2; plural=(n != 1); \n "
15+ "Language : es \n "
1716"MIME-Version :1.0\n "
1817"Content-Type :text/plain; charset=utf-8\n "
1918"Content-Transfer-Encoding :8bit\n "
19+ "Plural-Forms :nplurals=2; plural=(n != 1);\n "
2020"Generated-By :Babel 2.16.0\n "
21+ "X-Generator :Poedit 3.6\n "
2122
2223#: ../Doc/c-api/typehints.rst:6
2324msgid "Objects for Type Hinting"
@@ -30,36 +31,35 @@ msgid ""
3031"union>`. Only ``GenericAlias`` is exposed to C."
3132msgstr ""
3233"Se proporcionan varios tipos incorporados para indicaciones de tipado. "
33- "Actualmente existen dos tipos -- :ref:`GenericAlias <types-genericalias>`y : "
34- "ref:`Union <types-union>`. Solo ``GenericAlias`` es expuesto a C."
34+ "Actualmente existen dos tipos -- :ref:`GenericAlias <types-genericalias>` "
35+ "y : ref:`Union <types-union>`. Solo ``GenericAlias`` es expuesto a C."
3536
3637#: ../Doc/c-api/typehints.rst:14
37- #, fuzzy
3838msgid ""
3939"Create a :ref:`GenericAlias <types-genericalias>` object. Equivalent to "
4040"calling the Python class :class:`types.GenericAlias`. The *origin* and "
4141"*args* arguments set the ``GenericAlias``\\ 's ``__origin__`` and "
42- "``__args__`` attributes respectively. *origin* should bea :c:expr: "
43- "`PyTypeObject*`, and *args* can be a :c:expr:`PyTupleObject*` or any "
44- "``PyObject*``. If *args* passed is not a tuple, a 1-tuple is automatically "
45- "constructed and ``__args__`` is set to ``(args,)``. Minimal checking is done "
46- "for the arguments, so the function will succeed even if *origin* is not a "
47- "type. The ``GenericAlias``\\ 's ``__parameters__`` attribute is constructed "
48- "lazily from ``__args__``. On failure, an exception is raised and ``NULL`` "
49- "is returned."
42+ "``__args__`` attributes respectively. *origin* should be "
43+ "a :c:expr: `PyTypeObject*`, and *args* can be a :c:expr:`PyTupleObject*` or "
44+ "any ``PyObject*``. If *args* passed is not a tuple, a 1-tuple is "
45+ "automatically constructed and ``__args__`` is set to ``(args,)``. Minimal "
46+ "checking is done for the arguments, so the function will succeed even if "
47+ "*origin* is not a type. The ``GenericAlias``\\ 's ``__parameters__`` "
48+ "attribute is constructed lazily from ``__args__``. On failure, an exception "
49+ "israised and ``NULL`` is returned."
5050msgstr ""
5151"Crea un objeto :ref:`GenericAlias <types-genericalias>`. Equivalente a "
5252"llamar la clase de Python :class:`types.GenericAlias`. Los argumentos "
53- "*origin* y *args*configuran los atributos ``__origin__`` y ``__args__`` de "
54- "``GenericAlias`` respectivamente. *origin* debe serun :c:type: "
55- "`PyTypeObject*`, y *args* puede ser un :c:type :`PyTupleObject*` o cualquier "
56- "``PyObject*``. Siel valor de *args* no es una tupla,un 1-tupla es "
57- "automáticamenteconstruida y ``__args__``es configurado como ``(args,)``. "
58- "Para los argumentos se realizaun chequeo mínimo, de esta manera la función "
59- "tendrá éxito incluso si *origin* no es un tipo. El atributo "
60- "``__parameters__`` de ``GenericAlias``es construido deforma diferida a "
61- "partir de ``__args__``.Si existe una falla, se levantará una excepción y se "
62- "retornará ``NULL``."
53+ "*origin* y *args*establecen los atributos ``__origin__`` y ``__args__`` de "
54+ "``GenericAlias`` respectivamente. *origin* debe ser "
55+ "un :c:expr: `PyTypeObject*`, y *args* puede ser un :c:expr :`PyTupleObject*` o "
56+ "cualquier ``PyObject*``. Si *args* no es una tupla,se construye "
57+ "automáticamenteuna tupla de un elemento y ``__args__``se establece como "
58+ "``(args,)``. Se realizauna verificación mínima para los argumentos, por lo "
59+ "que la función tendrá éxito incluso si *origin* no es un tipo. El atributo "
60+ "``__parameters__`` de ``GenericAlias``se construye demanera perezosa a "
61+ "partir de ``__args__``.En caso de falla, se levantará una excepción y "
62+ "retorna ``NULL``."
6363
6464#: ../Doc/c-api/typehints.rst:28
6565msgid "Here's an example of how to make an extension type generic::"
@@ -76,11 +76,18 @@ msgid ""
7676" ...\n"
7777"}"
7878msgstr ""
79+ "static PyMethodDef my_obj_methods[] = {\n"
80+ " // Otros Métodos.\n"
81+ " ...\n"
82+ " {\" __class_getitem__\" , Py_GenericAlias, METH_O|METH_CLASS,\" Ver PEP "
83+ "585\" }\n"
84+ " ...\n"
85+ "\n"
86+ "}"
7987
8088#: ../Doc/c-api/typehints.rst:38
81- #, fuzzy
8289msgid "The data model method :meth:`~object.__class_getitem__`."
83- msgstr "El método del modelo de datos :meth:`__class_getitem__`."
90+ msgstr "El método del modelo de datos :meth:`~object. __class_getitem__`."
8491
8592#: ../Doc/c-api/typehints.rst:44
8693msgid ""