Skip to content

Commit 6a03b57

Browse files
committed
Avance a 100%
1 parent 3d68cc2 commit 6a03b57

File tree

1 file changed

+30
-9
lines changed

1 file changed

+30
-9
lines changed

reference/datamodel.po

Lines changed: 30 additions & 9 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: 2020-05-05 12:54+0200\n"
14-
"PO-Revision-Date: 2021-03-02 18:09-0600\n"
14+
"PO-Revision-Date: 2021-03-10 17:19-0600\n"
1515
"Language-Team: python-doc-es\n"
1616
"MIME-Version: 1.0\n"
1717
"Content-Type: text/plain; charset=UTF-8\n"
@@ -800,7 +800,6 @@ msgid "User-defined functions"
800800
msgstr "Funciones definidas por el usuario"
801801

802802
#: ../Doc/reference/datamodel.rst:460
803-
#, fuzzy
804803
msgid ""
805804
"A user-defined function object is created by a function definition (see "
806805
"section :ref:`function`). It should be called with an argument list "
@@ -962,7 +961,6 @@ msgstr ""
962961
"valor asignado."
963962

964963
#: ../Doc/reference/datamodel.rst:542
965-
#, fuzzy
966964
msgid ""
967965
"Function objects also support getting and setting arbitrary attributes, "
968966
"which can be used, for example, to attach metadata to functions. Regular "
@@ -1003,7 +1001,6 @@ msgid "Instance methods"
10031001
msgstr "Métodos de instancia"
10041002

10051003
#: ../Doc/reference/datamodel.rst:562
1006-
#, fuzzy
10071004
msgid ""
10081005
"An instance method object combines a class, a class instance and any "
10091006
"callable object (normally a user-defined function)."
@@ -2087,7 +2084,6 @@ msgstr ""
20872084
"ejemplo: ``super().__init__([args…])``."
20882085

20892086
#: ../Doc/reference/datamodel.rst:1203
2090-
#, fuzzy
20912087
msgid ""
20922088
"Because :meth:`__new__` and :meth:`__init__` work together in constructing "
20932089
"objects (:meth:`__new__` to create it, and :meth:`__init__` to customize "
@@ -3542,7 +3538,6 @@ msgstr ""
35423538
"definida y el nombre de un descriptor particular asignado;"
35433539

35443540
#: ../Doc/reference/datamodel.rst:2029
3545-
#, fuzzy
35463541
msgid ""
35473542
"finally, the :meth:`~object.__init_subclass__` hook is called on the "
35483543
"immediate parent of the new class in its method resolution order."
@@ -4526,49 +4521,63 @@ msgid ""
45264521
"Starting with Python 3.7, ``__aiter__`` must return an asynchronous iterator "
45274522
"object. Returning anything else will result in a :exc:`TypeError` error."
45284523
msgstr ""
4524+
"A partir de Python 3.7, ``__aiter__`` debe retornar un objeto iterador "
4525+
"asíncrono. Retornar cualquier otra cosa resultará en un error :exc:"
4526+
"`TypeError`."
45294527

45304528
#: ../Doc/reference/datamodel.rst:2723
45314529
msgid "Asynchronous Context Managers"
4532-
msgstr ""
4530+
msgstr "Gestores de Contexto Asíncronos"
45334531

45344532
#: ../Doc/reference/datamodel.rst:2725
45354533
msgid ""
45364534
"An *asynchronous context manager* is a *context manager* that is able to "
45374535
"suspend execution in its ``__aenter__`` and ``__aexit__`` methods."
45384536
msgstr ""
4537+
"Un *gestor de contexto asíncrono* es un *gestor de contexto* que puede "
4538+
"suspender la ejecución en sus métodos ``__aenter__`` y ``__aexit__``."
45394539

45404540
#: ../Doc/reference/datamodel.rst:2728
45414541
msgid ""
45424542
"Asynchronous context managers can be used in an :keyword:`async with` "
45434543
"statement."
45444544
msgstr ""
4545+
"Los gestores de contexto asíncronos pueden ser utilizados en una "
4546+
"declaración :keyword:`async with`."
45454547

45464548
#: ../Doc/reference/datamodel.rst:2732
45474549
msgid ""
45484550
"Semantically similar to :meth:`__enter__`, the only difference being that it "
45494551
"must return an *awaitable*."
45504552
msgstr ""
4553+
"Semánticamente similar a :meth:`__enter__`, siendo la única diferencia que "
4554+
"debe retorna un *esperable*."
45514555

45524556
#: ../Doc/reference/datamodel.rst:2737
45534557
msgid ""
45544558
"Semantically similar to :meth:`__exit__`, the only difference being that it "
45554559
"must return an *awaitable*."
45564560
msgstr ""
4561+
"Semánticamente similar a :meth:`__exit__`, siendo la única diferencia que "
4562+
"debe retornar un *esperable*."
45574563

45584564
#: ../Doc/reference/datamodel.rst:2740
45594565
msgid "An example of an asynchronous context manager class::"
4560-
msgstr ""
4566+
msgstr "Un ejemplo de una clase de gestor de contexto asíncrono::"
45614567

45624568
#: ../Doc/reference/datamodel.rst:2753
45634569
msgid "Footnotes"
4564-
msgstr ""
4570+
msgstr "Notas a pie de página"
45654571

45664572
#: ../Doc/reference/datamodel.rst:2754
45674573
msgid ""
45684574
"It *is* possible in some cases to change an object's type, under certain "
45694575
"controlled conditions. It generally isn't a good idea though, since it can "
45704576
"lead to some very strange behaviour if it is handled incorrectly."
45714577
msgstr ""
4578+
"Es posible cambiar en algunos casos un tipo de objeto bajo ciertas "
4579+
"circunstancias controladas. Generalmente no es buena idea, ya que esto puede "
4580+
"llevar a un comportamiento bastante extraño de no ser tratado correctamente."
45724581

45734582
#: ../Doc/reference/datamodel.rst:2758
45744583
msgid ""
@@ -4577,6 +4586,10 @@ msgid ""
45774586
"raise a :exc:`TypeError`, but may do so by relying on the behavior that "
45784587
"``None`` is not callable."
45794588
msgstr ""
4589+
"Los métodos :meth:`__hash__`, :meth:`__iter__`, :meth:`__reversed__`, y :"
4590+
"meth:`__contains__` tienen manejo especial para esto; otros lanzarán un "
4591+
"error :exc:`TypeError`, pero lo harán dependiendo del comportamiento de que "
4592+
"``None`` no se puede llamar."
45804593

45814594
#: ../Doc/reference/datamodel.rst:2763
45824595
msgid ""
@@ -4585,10 +4598,18 @@ msgid ""
45854598
"want to force fallback to the right operand's reflected method—that will "
45864599
"instead have the opposite effect of explicitly *blocking* such fallback."
45874600
msgstr ""
4601+
"“No soporta” aquí significa que la clase no tiene tal método, o el método "
4602+
"retorna ``NotImplemented``. No establecer el método a ``None`` si se quiere "
4603+
"forzar el retroceso al método reflejado del operando correcto—eso, por el "
4604+
"contrario, tendrá un efecto opuesto de bloquear explícitamente dicho "
4605+
"retroceso."
45884606

45894607
#: ../Doc/reference/datamodel.rst:2769
45904608
msgid ""
45914609
"For operands of the same type, it is assumed that if the non-reflected "
45924610
"method (such as :meth:`__add__`) fails the operation is not supported, which "
45934611
"is why the reflected method is not called."
45944612
msgstr ""
4613+
"Para operandos del mismo tipo, se asume que si el método no reflejado (como :"
4614+
"meth:`__add__`) falla, la operación no es soportada, por lo cual el método "
4615+
"reflejado no es llamado."

0 commit comments

Comments
 (0)