@@ -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 : 2021-10-16 21:42+0200\n "
14
- "PO-Revision-Date : 2021-08-04 21:34+0200 \n "
15
- "Last-Translator : Cristián Maureira-Fredes <cmaureirafredes @gmail.com>\n "
14
+ "PO-Revision-Date : 2021-10-25 23:15+0100 \n "
15
+ "Last-Translator : Claudia Millan <clmilneb @gmail.com>\n "
16
16
"Language : es\n "
17
17
"Language-Team : python-doc-es\n "
18
- "Plural-Forms : nplurals=2; plural=(n != 1)\n "
18
+ "Plural-Forms : nplurals=2; plural=(n != 1); \n "
19
19
"MIME-Version : 1.0\n "
20
20
"Content-Type : text/plain; charset=utf-8\n "
21
21
"Content-Transfer-Encoding : 8bit\n "
22
22
"Generated-By : Babel 2.9.1\n "
23
+ "X-Generator : Poedit 3.0\n "
23
24
24
25
#: ../Doc/library/inspect.rst:2
25
26
msgid ":mod:`inspect` --- Inspect live objects"
@@ -218,14 +219,12 @@ msgid "global namespace in which this function was defined"
218
219
msgstr "namespace global en el que se definió esta función"
219
220
220
221
#: ../Doc/library/inspect.rst:98
221
- #, fuzzy
222
222
msgid "__builtins__"
223
- msgstr "f_builtins "
223
+ msgstr "__builtins__ "
224
224
225
225
#: ../Doc/library/inspect.rst:98
226
- #, fuzzy
227
226
msgid "builtins namespace"
228
- msgstr "construye el namespace visto por este marco "
227
+ msgstr "Espacio de nombres builtins "
229
228
230
229
#: ../Doc/library/inspect.rst:100
231
230
msgid "__annotations__"
@@ -583,9 +582,8 @@ msgid "Add ``cr_origin`` attribute to coroutines."
583
582
msgstr "Agrega el atributo ``cr_origin`` a las corutinas."
584
583
585
584
#: ../Doc/library/inspect.rst:258
586
- #, fuzzy
587
585
msgid "Add ``__builtins__`` attribute to functions."
588
- msgstr "Agrega el atributo ``cr_origin `` a las corutinas ."
586
+ msgstr "Agrega el atributo ``__builtins__ `` a funciones ."
589
587
590
588
#: ../Doc/library/inspect.rst:262
591
589
msgid ""
@@ -1012,6 +1010,14 @@ msgid ""
1012
1010
"annotations; see the documentation for :func:`inspect.get_annotations()` for "
1013
1011
"instructions on how to use these parameters."
1014
1012
msgstr ""
1013
+ "Para los objetos definidos en módulos que utilizan anotaciones convertidas a "
1014
+ "cadenas (``from __future__ import annotations``), :func:`signature` "
1015
+ "intentará invertir la conversión a cadenas de las anotaciones "
1016
+ "automáticamente usando :func:`inspect.get_annotations()`. Los parámetros "
1017
+ "``global``, ``locals``, y ``eval_str`` se pasan a :func:`inspect."
1018
+ "get_annotations()` al resolver las anotaciones; consulte la documentación "
1019
+ "de :func:`inspect.get_annotations()` para obtener instrucciones sobre cómo "
1020
+ "utilizar estos parámetros."
1015
1021
1016
1022
#: ../Doc/library/inspect.rst:596
1017
1023
msgid ""
@@ -1021,6 +1027,11 @@ msgid ""
1021
1027
"call(s) to un-stringize the annotations could potentially raise any kind of "
1022
1028
"exception."
1023
1029
msgstr ""
1030
+ "Lanza :exc:`ValueError` si no se puede proporcionar ninguna signatura, y :"
1031
+ "exc:`TypeError` si ese tipo de objeto no es compatible. Además, si las "
1032
+ "anotaciones están convertidas a cadenas y ``eval_str`` no es falso, las "
1033
+ "llamadas ``eval()`` para invertir la conversión a cadenas de las "
1034
+ "anotaciones podrían generar cualquier tipo de excepción."
1024
1035
1025
1036
#: ../Doc/library/inspect.rst:602
1026
1037
msgid ""
@@ -1045,7 +1056,7 @@ msgstr ""
1045
1056
1046
1057
#: ../Doc/library/inspect.rst:611
1047
1058
msgid "``globals``, ``locals``, and ``eval_str`` parameters."
1048
- msgstr ""
1059
+ msgstr "Parámetros ``globals``, ``locals``, y ``eval_str`` "
1049
1060
1050
1061
#: ../Doc/library/inspect.rst:616
1051
1062
msgid ""
@@ -1174,24 +1185,25 @@ msgstr ""
1174
1185
"en :attr:`Signature.empty`."
1175
1186
1176
1187
#: ../Doc/library/inspect.rst:694
1177
- #, fuzzy
1178
1188
msgid ""
1179
1189
"Return a :class:`Signature` (or its subclass) object for a given callable "
1180
1190
"``obj``. Pass ``follow_wrapped=False`` to get a signature of ``obj`` "
1181
1191
"without unwrapping its ``__wrapped__`` chain. ``globalns`` and ``localns`` "
1182
1192
"will be used as the namespaces when resolving annotations."
1183
1193
msgstr ""
1184
1194
"Retorna un objeto :class:`Signature` (o su subclase) para un determinado "
1185
- "``obj`` invocable. Pasa ``follow_wrapped=False`` para obtener una firma de "
1186
- "``obj`` sin desenvolver su cadena ``__wrapped__``."
1195
+ "``obj`` invocable. Pasa ``follow_wrapped=False`` para obtener una signatura "
1196
+ "de ``obj`` sin desenvolver su cadena ``__wrapped__``. ``globalns`` y "
1197
+ "``localns`` serán usados como los espacios de nombre cuando se resuelvan las "
1198
+ "anotaciones. "
1187
1199
1188
1200
#: ../Doc/library/inspect.rst:699
1189
1201
msgid "This method simplifies subclassing of :class:`Signature`::"
1190
1202
msgstr "Este método simplifica la subclasificación de :class:`Signature`::"
1191
1203
1192
1204
#: ../Doc/library/inspect.rst:708
1193
1205
msgid "``globalns`` and ``localns`` parameters."
1194
- msgstr ""
1206
+ msgstr "Parámetros ``globalns`` y ``localns``. "
1195
1207
1196
1208
#: ../Doc/library/inspect.rst:714
1197
1209
msgid ""
@@ -1783,60 +1795,78 @@ msgstr ":exc:`ValueError` es lanzado si se encuentra un ciclo."
1783
1795
1784
1796
#: ../Doc/library/inspect.rst:1123
1785
1797
msgid "Compute the annotations dict for an object."
1786
- msgstr ""
1798
+ msgstr "Calcular el diccionario de anotaciones de un objeto. "
1787
1799
1788
1800
#: ../Doc/library/inspect.rst:1125
1789
1801
msgid ""
1790
1802
"``obj`` may be a callable, class, or module. Passing in an object of any "
1791
1803
"other type raises :exc:`TypeError`."
1792
1804
msgstr ""
1805
+ "``obj`` puede ser un invocable, clase o módulo. Al pasar un objeto de "
1806
+ "cualquier otro tipo, se genera :exc:`TypeError`."
1793
1807
1794
1808
#: ../Doc/library/inspect.rst:1128
1795
1809
msgid ""
1796
1810
"Returns a dict. ``get_annotations()`` returns a new dict every time it's "
1797
1811
"called; calling it twice on the same object will return two different but "
1798
1812
"equivalent dicts."
1799
1813
msgstr ""
1814
+ "Retorna un diccionario. ``get_annotations()`` retorna un nuevo diccionario "
1815
+ "cada vez que se invoca; llamarlo dos veces en el mismo objeto retornara dos "
1816
+ "diccionarios diferentes pero equivalentes."
1800
1817
1801
1818
#: ../Doc/library/inspect.rst:1132
1802
1819
msgid "This function handles several details for you:"
1803
- msgstr ""
1820
+ msgstr "Esta función maneja varios detalles por usted: "
1804
1821
1805
1822
#: ../Doc/library/inspect.rst:1134
1806
1823
msgid ""
1807
1824
"If ``eval_str`` is true, values of type ``str`` will be un-stringized using :"
1808
1825
"func:`eval()`. This is intended for use with stringized annotations (``from "
1809
1826
"__future__ import annotations``)."
1810
1827
msgstr ""
1828
+ "Si ``eval_str`` es verdadero, los valores del tipo ``str`` dejarán de ser "
1829
+ "cadenas usando :func:`eval()`. La intención de este diseño es su uso con "
1830
+ "anotaciones convertidas a cadenas (``from __future__ import annotations``)."
1811
1831
1812
1832
#: ../Doc/library/inspect.rst:1138
1813
1833
msgid ""
1814
1834
"If ``obj`` doesn't have an annotations dict, returns an empty dict. "
1815
1835
"(Functions and methods always have an annotations dict; classes, modules, "
1816
1836
"and other types of callables may not.)"
1817
1837
msgstr ""
1838
+ "Si ``obj`` no tiene un diccionario de anotaciones, retorna un diccionario "
1839
+ "vacío. (Las funciones y los métodos siempre tienen un diccionario de "
1840
+ "anotaciones; las clases, los módulos y otros tipos de intocables pueden no "
1841
+ "tenerlo)."
1818
1842
1819
1843
#: ../Doc/library/inspect.rst:1142
1820
1844
msgid ""
1821
1845
"Ignores inherited annotations on classes. If a class doesn't have its own "
1822
1846
"annotations dict, returns an empty dict."
1823
1847
msgstr ""
1848
+ "Ignora las anotaciones heredadas en las clases. Si una clase no tiene su "
1849
+ "propio diccionario de anotaciones, retorna un diccionario vacío."
1824
1850
1825
1851
#: ../Doc/library/inspect.rst:1144
1826
1852
msgid ""
1827
1853
"All accesses to object members and dict values are done using ``getattr()`` "
1828
1854
"and ``dict.get()`` for safety."
1829
1855
msgstr ""
1856
+ "Todos los accesos a los miembros del objeto y a los valores del diccionario "
1857
+ "se realizan mediante ``getattr()`` y ``dict.get()`` para mayor seguridad."
1830
1858
1831
1859
#: ../Doc/library/inspect.rst:1146
1832
1860
msgid "Always, always, always returns a freshly-created dict."
1833
- msgstr ""
1861
+ msgstr "Siempre, siempre, siempre retorna un diccionario recién creado. "
1834
1862
1835
1863
#: ../Doc/library/inspect.rst:1148
1836
1864
msgid ""
1837
1865
"``eval_str`` controls whether or not values of type ``str`` are replaced "
1838
1866
"with the result of calling :func:`eval()` on those values:"
1839
1867
msgstr ""
1868
+ "``eval_str`` controla si los valores del tipo ``str`` se sustituyen o no "
1869
+ "por el resultado de llamar a :func:`eval()` sobre esos valores:"
1840
1870
1841
1871
#: ../Doc/library/inspect.rst:1151
1842
1872
msgid ""
@@ -1845,11 +1875,17 @@ msgid ""
1845
1875
"raises an exception, it will unwind the stack past the ``get_annotations`` "
1846
1876
"call.)"
1847
1877
msgstr ""
1878
+ "Si eval_str es verdadero, :func:`eval()` se llama a valores de tipo ``str``. "
1879
+ "(Tenga en cuenta que ``get_annotations`` no detecta excepciones; si :func:"
1880
+ "`eval()` genera una excepción, desenrollará la pila más allá de la llamada "
1881
+ "``get_annotations``)."
1848
1882
1849
1883
#: ../Doc/library/inspect.rst:1155
1850
1884
msgid ""
1851
1885
"If eval_str is false (the default), values of type ``str`` are unchanged."
1852
1886
msgstr ""
1887
+ "Si eval_str es false (el valor predeterminado), los valores del tipo "
1888
+ "``str`` no cambian."
1853
1889
1854
1890
#: ../Doc/library/inspect.rst:1157
1855
1891
msgid ""
@@ -1858,30 +1894,45 @@ msgid ""
1858
1894
"``locals`` is ``None``, this function may replace that value with a context-"
1859
1895
"specific default, contingent on ``type(obj)``:"
1860
1896
msgstr ""
1897
+ "``globals`` and ``locals`` se pasan a :func:`eval()`; consulte la "
1898
+ "documentación de :func:`eval()` para obtener más información. Si ``globals` "
1899
+ "o ``locals`` es ``None``, esta función puede reemplazar ese valor con un "
1900
+ "valor predeterminado específico del contexto, supeditado a ``type(obj)``:"
1861
1901
1862
1902
#: ../Doc/library/inspect.rst:1162
1863
1903
msgid "If ``obj`` is a module, ``globals`` defaults to ``obj.__dict__``."
1864
1904
msgstr ""
1905
+ "Si ``obj`` es un módulo, ``globals`` por defecto es ``obj.__dict__``."
1865
1906
1866
1907
#: ../Doc/library/inspect.rst:1163
1867
1908
msgid ""
1868
1909
"If ``obj`` is a class, ``globals`` defaults to ``sys.modules[obj.__module__]."
1869
1910
"__dict__`` and ``locals`` defaults to the ``obj`` class namespace."
1870
1911
msgstr ""
1912
+ "Si ``obj`` es una clase, ``globals`` tiene como valor predeterminado ``sys."
1913
+ "modules[obj.__module__].__dict__`` y ``locals`` es de forma predeterminada "
1914
+ "el espacio de nombres de clase ``obj`` ."
1871
1915
1872
1916
#: ../Doc/library/inspect.rst:1166
1873
1917
msgid ""
1874
1918
"If ``obj`` is a callable, ``globals`` defaults to ``obj.__globals__``, "
1875
1919
"although if ``obj`` is a wrapped function (using ``functools."
1876
1920
"update_wrapper()``) it is first unwrapped."
1877
1921
msgstr ""
1922
+ "Si ``obj`` es un callable, ``globals`` por defecto es ``obj."
1923
+ "__globals__``, aunque si ``obj`` es una función envuelta (usando "
1924
+ "``functools.update_wrapper()``) primero se desenvuelve."
1878
1925
1879
1926
#: ../Doc/library/inspect.rst:1170
1880
1927
msgid ""
1881
1928
"Calling ``get_annotations`` is best practice for accessing the annotations "
1882
1929
"dict of any object. See :ref:`annotations-howto` for more information on "
1883
1930
"annotations best practices."
1884
1931
msgstr ""
1932
+ "Llamar a ``get_annotations`` es una práctica recomendada para acceder al "
1933
+ "diccionario de anotaciones de cualquier objeto. Consulte :ref:`annotations-"
1934
+ "howto` para obtener más información sobre las prácticas recomendadas de "
1935
+ "anotaciones."
1885
1936
1886
1937
#: ../Doc/library/inspect.rst:1180
1887
1938
msgid "The interpreter stack"
0 commit comments