@@ -13,12 +13,12 @@ msgstr ""
13
13
"POT-Creation-Date : 2021-10-16 21:42+0200\n "
14
14
"PO-Revision-Date : 2021-08-07 10:29+0200\n "
15
15
"Last-Translator : Cristián Maureira-Fredes <cmaureirafredes@gmail.com>\n "
16
- "Language : es_AR\n "
17
16
"Language-Team : python-doc-es\n "
18
- "Plural-Forms : nplurals=2; plural=(n != 1) \n "
17
+ "Language : es_AR \n "
19
18
"MIME-Version : 1.0\n "
20
19
"Content-Type : text/plain; charset=utf-8\n "
21
20
"Content-Transfer-Encoding : 8bit\n "
21
+ "Plural-Forms : nplurals=2; plural=(n != 1)\n "
22
22
"Generated-By : Babel 2.9.1\n "
23
23
24
24
#: ../Doc/library/collections.abc.rst:2
@@ -49,6 +49,8 @@ msgid ""
49
49
"An :func:`issubclass` or :func:`isinstance` test for an interface works in "
50
50
"one of three ways."
51
51
msgstr ""
52
+ "Una prueba :func:`issubclass` o :func:`isinstance` para una interfaz "
53
+ "funciona de tres formas."
52
54
53
55
#: ../Doc/library/collections.abc.rst:30
54
56
msgid ""
@@ -57,6 +59,10 @@ msgid ""
57
59
"remaining mixin methods come from inheritance and can be overridden if "
58
60
"desired. Other methods may be added as needed:"
59
61
msgstr ""
62
+ "1) Una clase recién escrita puede heredar directamente de una de las clases "
63
+ "base abstractas. La clase debe proporcionar los métodos abstractos "
64
+ "requeridos. Los métodos mixin restantes provienen de la herencia y se pueden "
65
+ "anular si se desea. Se pueden agregar otros métodos según sea necesario:"
60
66
61
67
#: ../Doc/library/collections.abc.rst:50
62
68
msgid ""
@@ -67,6 +73,13 @@ msgid ""
67
73
"determine whether the full interface is supported. The exception to this "
68
74
"rule is for methods that are automatically inferred from the rest of the API:"
69
75
msgstr ""
76
+ "2) Las clases existentes y las clases integradas se pueden registrar como "
77
+ "\" subclases virtuales\" de los ABC. Esas clases deben definir la API "
78
+ "completa, incluidos todos los métodos abstractos y todos los métodos mixin. "
79
+ "Esto permite a los usuarios confiar en las pruebas :func:`issubclass` o :"
80
+ "func:`isinstance` para determinar si se admite la interfaz completa. La "
81
+ "excepción a esta regla es para los métodos que se infieren automáticamente "
82
+ "del resto de la API:"
70
83
71
84
#: ../Doc/library/collections.abc.rst:76
72
85
msgid ""
@@ -76,12 +89,19 @@ msgid ""
76
89
"`reversed` function automatically fall back to using ``__getitem__`` and "
77
90
"``__len__``."
78
91
msgstr ""
92
+ "En este ejemplo, la clase :class:`D` no necesita definir ``__contains__``, "
93
+ "``__iter__`` y ``__reversed__`` porque el :ref:`operador in <comparisons>`, "
94
+ "la lógica de :term:`iteración <iterable>` y la función :func:`reversed` "
95
+ "recurren automáticamente al uso de ``__getitem__`` y ``__len__``."
79
96
80
97
#: ../Doc/library/collections.abc.rst:82
81
98
msgid ""
82
99
"3) Some simple interfaces are directly recognizable by the presence of the "
83
100
"required methods (unless those methods have been set to :const:`None`):"
84
101
msgstr ""
102
+ "3) Algunas interfaces simples son directamente reconocibles por la presencia "
103
+ "de los métodos requeridos (a menos que esos métodos se hayan configurado en :"
104
+ "const:`None`):"
85
105
86
106
#: ../Doc/library/collections.abc.rst:99
87
107
msgid ""
@@ -92,6 +112,13 @@ msgid ""
92
112
"class supplies ``__getitem__``, ``__len__``, and ``__iter__`` is "
93
113
"insufficient for distinguishing a :class:`Sequence` from a :class:`Mapping`."
94
114
msgstr ""
115
+ "Las interfaces complejas no admiten esta última técnica porque una interfaz "
116
+ "es más que la simple presencia de nombres de métodos. Las interfaces "
117
+ "especifican la semántica y las relaciones entre métodos que no se pueden "
118
+ "inferir únicamente de la presencia de nombres de métodos específicos. Por "
119
+ "ejemplo, saber que una clase proporciona ``__getitem__``, ``__len__`` y "
120
+ "``__iter__`` no es suficiente para distinguir un :class:`Sequence` de un :"
121
+ "class:`Mapping`."
95
122
96
123
#: ../Doc/library/collections.abc.rst:111
97
124
msgid "Collections Abstract Base Classes"
@@ -122,37 +149,33 @@ msgid "Mixin Methods"
122
149
msgstr "Métodos Mixin"
123
150
124
151
#: ../Doc/library/collections.abc.rst:120
125
- #, fuzzy
126
152
msgid ":class:`Container` [1]_"
127
- msgstr ":class:`Container`"
153
+ msgstr ":class:`Container` [1]_ "
128
154
129
155
#: ../Doc/library/collections.abc.rst:120
130
156
msgid "``__contains__``"
131
157
msgstr "``__contains__``"
132
158
133
159
#: ../Doc/library/collections.abc.rst:121
134
- #, fuzzy
135
160
msgid ":class:`Hashable` [1]_"
136
- msgstr ":class:`Hashable`"
161
+ msgstr ":class:`Hashable` [1]_ "
137
162
138
163
#: ../Doc/library/collections.abc.rst:121
139
164
msgid "``__hash__``"
140
165
msgstr "``__hash__``"
141
166
142
167
#: ../Doc/library/collections.abc.rst:122
143
- #, fuzzy
144
168
msgid ":class:`Iterable` [1]_ [2]_"
145
- msgstr ":class:`Iterable`"
169
+ msgstr ":class:`Iterable` [1]_ [2]_ "
146
170
147
171
#: ../Doc/library/collections.abc.rst:122
148
172
#: ../Doc/library/collections.abc.rst:123
149
173
msgid "``__iter__``"
150
174
msgstr "``__iter__``"
151
175
152
176
#: ../Doc/library/collections.abc.rst:123
153
- #, fuzzy
154
177
msgid ":class:`Iterator` [1]_"
155
- msgstr ":class:`Iterator`"
178
+ msgstr ":class:`Iterator` [1]_ "
156
179
157
180
#: ../Doc/library/collections.abc.rst:123
158
181
#: ../Doc/library/collections.abc.rst:124
@@ -164,18 +187,16 @@ msgid "``__next__``"
164
187
msgstr "``__next__``"
165
188
166
189
#: ../Doc/library/collections.abc.rst:124
167
- #, fuzzy
168
190
msgid ":class:`Reversible` [1]_"
169
- msgstr ":class:`Reversible`"
191
+ msgstr ":class:`Reversible` [1]_ "
170
192
171
193
#: ../Doc/library/collections.abc.rst:124
172
194
msgid "``__reversed__``"
173
195
msgstr "``__reversed__``"
174
196
175
197
#: ../Doc/library/collections.abc.rst:125
176
- #, fuzzy
177
198
msgid ":class:`Generator` [1]_"
178
- msgstr ":class:`Generator`"
199
+ msgstr ":class:`Generator` [1]_ "
179
200
180
201
#: ../Doc/library/collections.abc.rst:125
181
202
msgid ":class:`Iterator`"
@@ -191,28 +212,25 @@ msgid "``close``, ``__iter__``, ``__next__``"
191
212
msgstr "``close``, ``__iter__``, ``__next__``"
192
213
193
214
#: ../Doc/library/collections.abc.rst:126
194
- #, fuzzy
195
215
msgid ":class:`Sized` [1]_"
196
- msgstr ":class:`Sized`"
216
+ msgstr ":class:`Sized` [1]_ "
197
217
198
218
#: ../Doc/library/collections.abc.rst:126
199
219
#: ../Doc/library/collections.abc.rst:165
200
220
msgid "``__len__``"
201
221
msgstr "``__len__``"
202
222
203
223
#: ../Doc/library/collections.abc.rst:127
204
- #, fuzzy
205
224
msgid ":class:`Callable` [1]_"
206
- msgstr ":class:`Callable`"
225
+ msgstr ":class:`Callable` [1]_ "
207
226
208
227
#: ../Doc/library/collections.abc.rst:127
209
228
msgid "``__call__``"
210
229
msgstr "``__call__``"
211
230
212
231
#: ../Doc/library/collections.abc.rst:128
213
- #, fuzzy
214
232
msgid ":class:`Collection` [1]_"
215
- msgstr ":class:`Collection`"
233
+ msgstr ":class:`Collection` [1]_ "
216
234
217
235
#: ../Doc/library/collections.abc.rst:128
218
236
msgid ":class:`Sized`, :class:`Iterable`, :class:`Container`"
@@ -375,18 +393,16 @@ msgid ":class:`MappingView`, :class:`Collection`"
375
393
msgstr ":class:`MappingView`, :class:`Collection`"
376
394
377
395
#: ../Doc/library/collections.abc.rst:172
378
- #, fuzzy
379
396
msgid ":class:`Awaitable` [1]_"
380
- msgstr ":class:`Awaitable`"
397
+ msgstr ":class:`Awaitable` [1]_ "
381
398
382
399
#: ../Doc/library/collections.abc.rst:172
383
400
msgid "``__await__``"
384
401
msgstr "``__await__``"
385
402
386
403
#: ../Doc/library/collections.abc.rst:173
387
- #, fuzzy
388
404
msgid ":class:`Coroutine` [1]_"
389
- msgstr ":class:`Coroutine`"
405
+ msgstr ":class:`Coroutine` [1]_ "
390
406
391
407
#: ../Doc/library/collections.abc.rst:173
392
408
msgid ":class:`Awaitable`"
@@ -397,19 +413,17 @@ msgid "``close``"
397
413
msgstr "``close``"
398
414
399
415
#: ../Doc/library/collections.abc.rst:174
400
- #, fuzzy
401
416
msgid ":class:`AsyncIterable` [1]_"
402
- msgstr ":class:`AsyncIterable`"
417
+ msgstr ":class:`AsyncIterable` [1]_ "
403
418
404
419
#: ../Doc/library/collections.abc.rst:174
405
420
#: ../Doc/library/collections.abc.rst:175
406
421
msgid "``__aiter__``"
407
422
msgstr "``__aiter__``"
408
423
409
424
#: ../Doc/library/collections.abc.rst:175
410
- #, fuzzy
411
425
msgid ":class:`AsyncIterator` [1]_"
412
- msgstr ":class:`AsyncIterator`"
426
+ msgstr ":class:`AsyncIterator` [1]_ "
413
427
414
428
#: ../Doc/library/collections.abc.rst:175
415
429
msgid ":class:`AsyncIterable`"
@@ -420,9 +434,8 @@ msgid "``__anext__``"
420
434
msgstr "``__anext__``"
421
435
422
436
#: ../Doc/library/collections.abc.rst:176
423
- #, fuzzy
424
437
msgid ":class:`AsyncGenerator` [1]_"
425
- msgstr ":class:`AsyncGenerator`"
438
+ msgstr ":class:`AsyncGenerator` [1]_ "
426
439
427
440
#: ../Doc/library/collections.abc.rst:176
428
441
msgid ":class:`AsyncIterator`"
@@ -438,7 +451,7 @@ msgstr "``aclose``, ``__aiter__``, ``__anext__``"
438
451
439
452
#: ../Doc/library/collections.abc.rst:181
440
453
msgid "Footnotes"
441
- msgstr ""
454
+ msgstr "Notas al pie "
442
455
443
456
#: ../Doc/library/collections.abc.rst:182
444
457
msgid ""
@@ -447,26 +460,28 @@ msgid ""
447
460
"set to :const:`None`. This only works for simple interfaces. More complex "
448
461
"interfaces require registration or direct subclassing."
449
462
msgstr ""
463
+ "Estos ABC anulan :meth:`object.__subclasshook__` para admitir la prueba de "
464
+ "una interfaz verificando que los métodos requeridos estén presentes y no se "
465
+ "hayan configurado en :const:`None`. Esto solo funciona para interfaces "
466
+ "simples. Las interfaces más complejas requieren registro o herencia directa."
450
467
451
468
#: ../Doc/library/collections.abc.rst:188
452
- #, fuzzy
453
469
msgid ""
454
470
"Checking ``isinstance(obj, Iterable)`` detects classes that are registered "
455
471
"as :class:`Iterable` or that have an :meth:`__iter__` method, but it does "
456
472
"not detect classes that iterate with the :meth:`__getitem__` method. The "
457
473
"only reliable way to determine whether an object is :term:`iterable` is to "
458
474
"call ``iter(obj)``."
459
475
msgstr ""
460
- "Al marcar ``isinstance(obj, Iterable)`` se detectan las clases que están "
476
+ "La verificación de ``isinstance(obj, Iterable)`` detecta clases que están "
461
477
"registradas como :class:`Iterable` o que tienen un método :meth:`__iter__`, "
462
478
"pero no detecta clases que iteran con el método :meth:`__getitem__`. La "
463
479
"única forma confiable de determinar si un objeto es :term:`iterable` es "
464
480
"llamar a ``iter(obj)``."
465
481
466
482
#: ../Doc/library/collections.abc.rst:196
467
- #, fuzzy
468
483
msgid "Collections Abstract Base Classes -- Detailed Descriptions"
469
- msgstr "Colecciones Clases Base Abstractas "
484
+ msgstr "Colecciones Clases base abstractas - Descripciones detalladas "
470
485
471
486
#: ../Doc/library/collections.abc.rst:201
472
487
msgid "ABC for classes that provide the :meth:`__contains__` method."
@@ -661,16 +676,15 @@ msgstr ""
661
676
662
677
#: ../Doc/library/collections.abc.rst:347
663
678
msgid "Examples and Recipes"
664
- msgstr ""
679
+ msgstr "Ejemplos y Recetas "
665
680
666
681
#: ../Doc/library/collections.abc.rst:349
667
- #, fuzzy
668
682
msgid ""
669
683
"ABCs allow us to ask classes or instances if they provide particular "
670
684
"functionality, for example::"
671
685
msgstr ""
672
- "Estos ABC nos permiten preguntar a clases o instancias si proporcionan una "
673
- "funcionalidad particular, por ejemplo:: "
686
+ "Los ABC nos permiten preguntar a las clases o instancias si brindan una "
687
+ "funcionalidad particular, por ejemplo:"
674
688
675
689
#: ../Doc/library/collections.abc.rst:356
676
690
msgid ""
0 commit comments