@@ -11,15 +11,16 @@ msgstr ""
11
11
"Project-Id-Version : Python 3.8\n "
12
12
"Report-Msgid-Bugs-To : \n "
13
13
"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 "
15
15
"Last-Translator : Rodrigo Tobar <rtobarc@gmail.com>\n "
16
- "Language : es\n "
17
16
"Language-Team : python-doc-es\n "
18
- "Plural-Forms : nplurals=2; plural=(n != 1); \n "
17
+ "Language : es \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.10.3\n "
23
+ "X-Generator : Poedit 3.0.1\n "
23
24
24
25
#: ../Doc/howto/descriptor.rst:5
25
26
msgid "Descriptor HowTo Guide"
@@ -698,6 +699,10 @@ msgid ""
698
699
"code. That is why calling :meth:`__getattribute__` directly or with "
699
700
"``super().__getattribute__`` will bypass :meth:`__getattr__` entirely."
700
701
msgstr ""
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__`."
701
706
702
707
#: ../Doc/howto/descriptor.rst:723
703
708
msgid ""
@@ -706,6 +711,10 @@ msgid ""
706
711
"`__getattribute__` raises an :exc:`AttributeError`. Their logic is "
707
712
"encapsulated in a helper function:"
708
713
msgstr ""
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:"
709
718
710
719
#: ../Doc/howto/descriptor.rst:773
711
720
msgid "Invocation from a class"
@@ -877,14 +886,13 @@ msgid "ORM example"
877
886
msgstr "Ejemplo de mapeos objeto-relacional (*ORM*)"
878
887
879
888
#: ../Doc/howto/descriptor.rst:850
880
- #, fuzzy , python-format
881
889
msgid ""
882
890
"The following code is a simplified skeleton showing how data descriptors "
883
891
"could be used to implement an `object relational mapping <https://en."
884
892
"wikipedia.org/wiki/Object%E2%80%93relational_mapping>`_."
885
893
msgstr ""
886
894
"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-"
888
896
"relacional <https://es.wikipedia.org/wiki/Asignaci%C3%B3n_objeto-"
889
897
"relacional>`_."
890
898
@@ -1277,7 +1285,6 @@ msgstr ""
1277
1285
"Python de :func:`classmethod` se vería así:"
1278
1286
1279
1287
#: ../Doc/howto/descriptor.rst:1408
1280
- #, fuzzy
1281
1288
msgid ""
1282
1289
"The code path for ``hasattr(type(self.f), '__get__')`` was added in Python "
1283
1290
"3.9 and makes it possible for :func:`classmethod` to support chained "
@@ -1286,7 +1293,8 @@ msgid ""
1286
1293
msgstr ""
1287
1294
"La ruta de código para ``hasattr(obj, '__get__')`` fue añadida en Python "
1288
1295
"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."
1290
1298
1291
1299
#: ../Doc/howto/descriptor.rst:1428
1292
1300
msgid "Member objects and __slots__"
@@ -1333,7 +1341,6 @@ msgstr ""
1333
1341
"una gran cantidad de instancias será creada."
1334
1342
1335
1343
#: ../Doc/howto/descriptor.rst:1490
1336
- #, python-format
1337
1344
msgid ""
1338
1345
"4. Improves speed. Reading instance variables is 35% faster with "
1339
1346
"``__slots__`` (as measured with Python 3.10 on an Apple M1 processor)."
0 commit comments