4
4
# package.
5
5
# FIRST AUTHOR <EMAIL@ADDRESS>, 2021.
6
6
#
7
- #, fuzzy
8
7
msgid ""
9
8
msgstr ""
10
9
"Project-Id-Version : Python en Español 3.10\n "
11
10
"Report-Msgid-Bugs-To : \n "
12
11
"POT-Creation-Date : 2021-10-16 21:42+0200\n "
13
- "PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
14
- "Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
15
- "Language-Team : LANGUAGE <LL@li.org>\n "
12
+ "PO-Revision-Date : 2021-11-16 22:14-0600\n "
16
13
"MIME-Version : 1.0\n "
17
- "Content-Type : text/plain; charset=utf -8\n "
14
+ "Content-Type : text/plain; charset=UTF -8\n "
18
15
"Content-Transfer-Encoding : 8bit\n "
19
16
"Generated-By : Babel 2.9.1\n "
17
+ "Plural-Forms : nplurals=2; plural=(n != 1);\n "
18
+ "Last-Translator : Erick G. Islas Osuna <erickisos653@gmail.com>\n "
19
+ "Language-Team : \n "
20
+ "Language : es\n "
21
+ "X-Generator : Poedit 3.0\n "
20
22
21
23
#: ../Doc/c-api/typehints.rst:6
22
24
msgid "Objects for Type Hinting"
23
- msgstr ""
25
+ msgstr "Objetos para indicaciones de tipado "
24
26
25
27
#: ../Doc/c-api/typehints.rst:8
26
28
msgid ""
27
29
"Various built-in types for type hinting are provided. Currently, two types "
28
30
"exist -- :ref:`GenericAlias <types-genericalias>` and :ref:`Union <types-"
29
31
"union>`. Only ``GenericAlias`` is exposed to C."
30
32
msgstr ""
33
+ "Se proporcionan varios tipos incorporados para indicaciones de tipado. "
34
+ "Actualmente existen dos tipos -- :ref:`GenericAlias <types-genericalias>` y :"
35
+ "ref:`Union <types-union>`. Solo ``GenericAlias`` es expuesto a C."
31
36
32
37
#: ../Doc/c-api/typehints.rst:14
33
38
msgid ""
@@ -43,17 +48,31 @@ msgid ""
43
48
"lazily from ``__args__``. On failure, an exception is raised and ``NULL`` "
44
49
"is returned."
45
50
msgstr ""
51
+ "Crea un objeto :ref:`GenericAlias <types-genericalias>`. Equivalente a "
52
+ "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 ser un :c:type:"
55
+ "`PyTypeObject*`, y *args* puede ser un :c:type:`PyTupleObject*` o cualquier "
56
+ "``PyObject*``. Si el valor de *args* no es una tupla, un 1-tupla es "
57
+ "automáticamente construida y ``__args__`` es configurado como ``(args,)``. "
58
+ "Para los argumentos se realiza un 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 de forma diferida a "
61
+ "partir de ``__args__``. Si existe una falla, se levantará una excepción y se "
62
+ "retornará ``NULL``."
46
63
47
64
#: ../Doc/c-api/typehints.rst:28
48
65
msgid "Here's an example of how to make an extension type generic::"
49
- msgstr ""
66
+ msgstr "Aquí hay un ejemplo sobre cómo hacer un tipo de extensión genérica:: "
50
67
51
68
#: ../Doc/c-api/typehints.rst:38
52
69
msgid "The data model method :meth:`__class_getitem__`."
53
- msgstr ""
70
+ msgstr "El método del modelo de datos :meth:`__class_getitem__`. "
54
71
55
72
#: ../Doc/c-api/typehints.rst:44
56
73
msgid ""
57
74
"The C type of the object returned by :c:func:`Py_GenericAlias`. Equivalent "
58
75
"to :class:`types.GenericAlias` in Python."
59
76
msgstr ""
77
+ "El tipo en C del objeto retornado por :c:func:`Py_GenericAlias`. Equivalente "
78
+ "a :class:`types.GenericAlias` en Python."
0 commit comments