@@ -11,15 +11,16 @@ msgstr ""
1111"Project-Id-Version : Python 3.8\n "
1212"Report-Msgid-Bugs-To : \n "
1313"POT-Creation-Date : 2022-10-25 19:47+0200\n "
14- "PO-Revision-Date : 2021-10-30 00:13+0800 \n "
14+ "PO-Revision-Date : 2023-03-17 17:40-0600 \n "
1515"Last-Translator : Rodrigo Tobar <rtobarc@gmail.com>\n "
16- "Language : es\n "
1716"Language-Team : python-doc-es\n "
18- "Plural-Forms : nplurals=2; plural=(n != 1); \n "
17+ "Language : es \n "
1918"MIME-Version : 1.0\n "
2019"Content-Type : text/plain; charset=utf-8\n "
2120"Content-Transfer-Encoding : 8bit\n "
21+ "Plural-Forms : nplurals=2; plural=(n != 1);\n "
2222"Generated-By : Babel 2.10.3\n "
23+ "X-Generator : Poedit 3.0.1\n "
2324
2425#: ../Doc/howto/descriptor.rst:5
2526msgid "Descriptor HowTo Guide"
@@ -698,6 +699,10 @@ msgid ""
698699"code. That is why calling :meth:`__getattribute__` directly or with "
699700"``super().__getattribute__`` will bypass :meth:`__getattr__` entirely."
700701msgstr ""
702+ "Nota, no hay un gancho :meth:`__getattr__` en el código de :meth:"
703+ "`__getattribute__` . Es por eso que llamar a :meth:`__getattribute__` "
704+ "directamente o con ``super().__getattribute__`` evitará completamente a :"
705+ "meth:`__getattr__`."
701706
702707#: ../Doc/howto/descriptor.rst:723
703708msgid ""
@@ -706,6 +711,10 @@ msgid ""
706711"`__getattribute__` raises an :exc:`AttributeError`. Their logic is "
707712"encapsulated in a helper function:"
708713msgstr ""
714+ "En cambio, es el operador punto y la función :func:`getattr` los que son "
715+ "responsables de invocar :meth:`__getattr__` cada vez que :meth:"
716+ "`__getattribute__` lanza un :exc:`AttributeError`. Su lógica está "
717+ "encapsulada en una función auxiliar:"
709718
710719#: ../Doc/howto/descriptor.rst:773
711720msgid "Invocation from a class"
@@ -877,14 +886,13 @@ msgid "ORM example"
877886msgstr "Ejemplo de mapeos objeto-relacional (*ORM*)"
878887
879888#: ../Doc/howto/descriptor.rst:850
880- #, fuzzy , python-format
881889msgid ""
882890"The following code is a simplified skeleton showing how data descriptors "
883891"could be used to implement an `object relational mapping <https://en."
884892"wikipedia.org/wiki/Object%E2%80%93relational_mapping>`_."
885893msgstr ""
886894"El siguiente código es un esqueleto simplificado que muestra cómo "
887- "descriptores de datos pueden ser usados para implementar un mapeo objeto-"
895+ "descriptores de datos pueden ser usados para implementar un ` mapeo objeto-"
888896"relacional <https://es.wikipedia.org/wiki/Asignaci%C3%B3n_objeto-"
889897"relacional>`_."
890898
@@ -1277,7 +1285,6 @@ msgstr ""
12771285"Python de :func:`classmethod` se vería así:"
12781286
12791287#: ../Doc/howto/descriptor.rst:1408
1280- #, fuzzy
12811288msgid ""
12821289"The code path for ``hasattr(type(self.f), '__get__')`` was added in Python "
12831290"3.9 and makes it possible for :func:`classmethod` to support chained "
@@ -1286,7 +1293,8 @@ msgid ""
12861293msgstr ""
12871294"La ruta de código para ``hasattr(obj, '__get__')`` fue añadida en Python "
12881295"3.9, y hace posible que :func:`classmethod` soporte decoradores encadenados."
1289- "Por ejemplo, un classmethod y un property se puede encadenar:"
1296+ "Por ejemplo, un classmethod y un property se puede encadenar. En Python "
1297+ "3.11, esta funcionalidad fue marcada como obsoleta."
12901298
12911299#: ../Doc/howto/descriptor.rst:1428
12921300msgid "Member objects and __slots__"
@@ -1333,7 +1341,6 @@ msgstr ""
13331341"una gran cantidad de instancias será creada."
13341342
13351343#: ../Doc/howto/descriptor.rst:1490
1336- #, python-format
13371344msgid ""
13381345"4. Improves speed. Reading instance variables is 35% faster with "
13391346"``__slots__`` (as measured with Python 3.10 on an Apple M1 processor)."
0 commit comments