Skip to content

Commit 3cbfe65

Browse files
committed
Traducción archivo c-api/intro
1 parent d58cf8b commit 3cbfe65

File tree

1 file changed

+30
-4
lines changed

1 file changed

+30
-4
lines changed

c-api/intro.po

+30-4
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ 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-12-09 10:48+0800\n"
15-
"Last-Translator: Rodrigo Tobar <rtobarc@gmail.com>\n"
14+
"PO-Revision-Date: 2022-11-09 10:48+0800\n"
15+
"Last-Translator: David Orejuela <daorejuela1@outlook.com>\n"
1616
"Language: es\n"
1717
"Language-Team: python-doc-es\n"
1818
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
@@ -237,30 +237,44 @@ msgid ""
237237
"Ask the compiler to always inline a static inline function. The compiler can "
238238
"ignore it and decides to not inline the function."
239239
msgstr ""
240+
"Ordena al compilador a siempre usar *inline* en una función estática *inline*. "
241+
"El compilador puede ignorarlo y decidir no usar *inline* en la función."
240242

241243
#: ../Doc/c-api/intro.rst:119
242244
msgid ""
243245
"It can be used to inline performance critical static inline functions when "
244246
"building Python in debug mode with function inlining disabled. For example, "
245247
"MSC disables function inlining when building in debug mode."
246248
msgstr ""
249+
"Puede ser usado para usar *inline* en funciones estáticas *inline* de "
250+
"rendimiento crítico cuando se corre Python en modo de depuración con "
251+
"*inline* de funciones deshabilitado. Por ejemplo, *MSC* deshabilita el *inline* "
252+
"de funciones cuando se configura en modo de depuración."
247253

248254
#: ../Doc/c-api/intro.rst:123
249255
msgid ""
250256
"Marking blindly a static inline function with Py_ALWAYS_INLINE can result in "
251257
"worse performances (due to increased code size for example). The compiler is "
252258
"usually smarter than the developer for the cost/benefit analysis."
253259
msgstr ""
260+
"Marcar ciegamente una función estática *inline* con Py_ALWAYS_INLINE puede "
261+
"resultar en peor rendimientos (debido a un aumento del tamaño del código, "
262+
"por ejemplo). El compilador es generalmente más inteligente que el "
263+
"desarrollador para el análisis costo/beneficio."
264+
254265

255266
#: ../Doc/c-api/intro.rst:127
256267
msgid ""
257268
"If Python is :ref:`built in debug mode <debug-build>` (if the ``Py_DEBUG`` "
258269
"macro is defined), the :c:macro:`Py_ALWAYS_INLINE` macro does nothing."
259270
msgstr ""
271+
"Si Python está :ref:`configurado en modo de depuración <debug-build>` (si el "
272+
"macro ``Py_DEBUG`` está definido), el macro :c:macro:`Py_ALWAYS_INLINE` no "
273+
"hace nada."
260274

261275
#: ../Doc/c-api/intro.rst:130
262276
msgid "It must be specified before the function return type. Usage::"
263-
msgstr ""
277+
msgstr "Debe ser especificado antes del tipo de retorno de la función. Uso::"
264278

265279
#: ../Doc/c-api/intro.rst:138
266280
msgid ""
@@ -314,10 +328,13 @@ msgid ""
314328
"consumption: useful on LTO+PGO builds which heavily inline code (see :issue:"
315329
"`33720`)."
316330
msgstr ""
331+
"Deshabilita el uso de *inline* en una función. Por ejemplo, reduce el consumo "
332+
"de la pila C: útil en compilaciones LTO+PGO que usan mucho *inline* (ver :issue:"
333+
"`33720`)."
317334

318335
#: ../Doc/c-api/intro.rst:182
319336
msgid "Usage::"
320-
msgstr ""
337+
msgstr "Uso::"
321338

322339
#: ../Doc/c-api/intro.rst:190
323340
msgid ""
@@ -812,6 +829,10 @@ msgid ""
812829
"type). See :pep:`353` for details. ``PY_SSIZE_T_MAX`` is the largest "
813830
"positive value of type :c:type:`Py_ssize_t`."
814831
msgstr ""
832+
"Un tipo integral con signo tal que ``sizeof(Py_ssize_t) == sizeof(size_t)``. "
833+
"C99 no define directamente tal cosa (size_t es un tipo integral sin signo). "
834+
"Vea :pep:`353` para más detalles. ``PY_SSIZE_T_MAX`` es el valor positivo "
835+
"más grande del tipo :c:type:`Py_ssize_t`."
815836

816837
#: ../Doc/c-api/intro.rst:551
817838
msgid "Exceptions"
@@ -1025,6 +1046,11 @@ msgid ""
10251046
"later, setting :c:member:`PyConfig.argv` and :c:member:`PyConfig.parse_argv` "
10261047
"must be set: see :ref:`Python Initialization Configuration <init-config>`."
10271048
msgstr ""
1049+
":c:func:`Py_Initialize` no establece la \"lista de argumentos de script\" "
1050+
"(``sys.argv``). Si esta variable es necesaria por el código Python que se "
1051+
"ejecutará más tarde, debe establecerse :c:member:`PyConfig.argv` y :c:"
1052+
"member:`PyConfig.parse_argv`: consulte :ref:`Python Initialization "
1053+
"Configuration <init-config>`."
10281054

10291055
#: ../Doc/c-api/intro.rst:724
10301056
msgid ""

0 commit comments

Comments
 (0)