Skip to content

Commit f5ead65

Browse files
authored
Merge branch '3.13' into Arvin-Translation
2 parents d79227f + 805b8e1 commit f5ead65

File tree

4 files changed

+1889
-115
lines changed

4 files changed

+1889
-115
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494
sphinx-build -j auto -W --keep-going -b html -d cpython/Doc/_build/doctree -D language=es . cpython/Doc/_build/html
9595
9696
# Publica la documentación recién construida para poder descargarla de ser necesario
97-
- uses: actions/upload-artifact@v5
97+
- uses: actions/upload-artifact@v6
9898
with:
9999
path: cpython/Doc/_build/html
100100
name: documentación-html

TRANSLATORS

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ Mateo Cámara (@MateoCamara)
188188
Matias Bordese (@matiasb)
189189
Matthew Ellis Kane Jiménez (@M-E-K-J-2102)
190190
Melissa Escobar Gutiérrez (@MelissaEscobar)
191+
Melvin Pineda Miguel (@TAPMelvin)
191192
Miguel Ángel
192193
Nahuel Ambrosini (@ambro17)
193194
Nahuel Espinosa (@nahueespinosa)
@@ -250,4 +251,4 @@ Xavi Rambla Centellas (@xavirambla)
250251
Yennifer Paola Herrera Ariza (@Yenniferh)
251252
Yohanna Padrino (@Yo-hanaPR)
252253
zejiran
253-
Zodac (@zodacdev)
254+
Zodac (@zodacdev)

c-api/arg.po

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ msgid ""
8585
"formats (``s#``, ``y#``, etc.) explained below. This is not necessary on "
8686
"Python 3.13 and later."
8787
msgstr ""
88+
"En Python 3.12 y versiones anteriores, la macro :c:macro:`!PY_SSIZE_T_CLEAN` "
89+
"debe estar definida antes de incluir :file:`Python.h` para usar todas las "
90+
"variantes ``#`` de formatos (``s#``, ``y#``, etc.) explicadas a continuación. "
91+
"Esto no es necesario en Python 3.13 y versiones posteriores."
8892

8993
#: ../Doc/c-api/arg.rst:42
9094
msgid ""
@@ -103,7 +107,7 @@ msgstr ""
103107

104108
#: ../Doc/c-api/arg.rst:48
105109
msgid "There are three ways strings and buffers can be converted to C:"
106-
msgstr ""
110+
msgstr "Hay tres formas en que las cadenas de caracteres y los búferes pueden convertirse a C:"
107111

108112
#: ../Doc/c-api/arg.rst:50
109113
#, fuzzy
@@ -129,6 +133,9 @@ msgid ""
129133
"**You have to call** :c:func:`PyMem_Free` after you have finished processing "
130134
"the data (or in any early abort case)."
131135
msgstr ""
136+
"Los formatos ``es``, ``es#``, ``et`` y ``et#`` asignan el búfer de resultado. "
137+
"**Debe llamar** :c:func:`PyMem_Free` después de haber terminado de procesar "
138+
"los datos (o en cualquier caso de aborto temprano)."
132139

133140
#: ../Doc/c-api/arg.rst:63
134141
msgid ""
@@ -138,6 +145,12 @@ msgid ""
138145
"corresponding Python object, and shares the lifetime of this object. You "
139146
"won't have to release any memory yourself."
140147
msgstr ""
148+
"Otros formatos toman un :class:`str` o un :term:`objeto de tipo bytes <bytes-"
149+
"like object>` de solo lectura, como :class:`bytes`, y proporcionan un "
150+
"puntero ``const char *`` a su búfer. En este caso el búfer es \"prestado\" "
151+
"(*borrowed*): es gestionado por el objeto Python correspondiente y comparte "
152+
"el tiempo de vida de este objeto. No tendrá que liberar ninguna memoria "
153+
"usted mismo."
141154

142155
#: ../Doc/c-api/arg.rst:70
143156
msgid ""
@@ -146,13 +159,21 @@ msgid ""
146159
"disallows common mutable objects such as :class:`bytearray`, but also some "
147160
"read-only objects such as :class:`memoryview` of :class:`bytes`."
148161
msgstr ""
162+
"Para asegurar que el búfer subyacente pueda ser prestado de forma segura, el "
163+
"campo :c:member:`PyBufferProcs.bf_releasebuffer` del objeto debe ser ``NULL``. "
164+
"Esto desautoriza objetos mutables comunes como :class:`bytearray`, pero "
165+
"también algunos objetos de solo lectura como :class:`memoryview` de :class:"
166+
"`bytes`."
149167

150168
#: ../Doc/c-api/arg.rst:76
151169
msgid ""
152170
"Besides this ``bf_releasebuffer`` requirement, there is no check to verify "
153171
"whether the input object is immutable (e.g. whether it would honor a request "
154172
"for a writable buffer, or whether another thread can mutate the data)."
155173
msgstr ""
174+
"Además de este requisito de ``bf_releasebuffer``, no hay verificación para "
175+
"comprobar si el objeto de entrada es inmutable (por ejemplo, si respetaría "
176+
"una solicitud de un búfer escribible, o si otro hilo puede mutar los datos)."
156177

157178
#: ../Doc/c-api/arg.rst:98
158179
msgid "``s`` (:class:`str`) [const char \\*]"
@@ -564,6 +585,8 @@ msgid ""
564585
"``u``, ``u#``, ``Z``, and ``Z#`` are removed because they used a legacy "
565586
"``Py_UNICODE*`` representation."
566587
msgstr ""
588+
"``u``, ``u#``, ``Z`` y ``Z#`` fueron eliminados porque usaban una "
589+
"representación heredada ``Py_UNICODE*``."
567590

568591
#: ../Doc/c-api/arg.rst:230
569592
msgid "Numbers"

0 commit comments

Comments
 (0)