Skip to content

Ajuste '//' por 'división entera a la baja' #2799

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jan 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 16 additions & 13 deletions c-api/number.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@ msgstr ""
"Project-Id-Version: Python 3.8\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-12 19:43+0200\n"
"PO-Revision-Date: 2021-10-19 02:00+0200\n"
"PO-Revision-Date: 2024-01-27 17:24+0100\n"
"Last-Translator: Meta Louis-Kosmas <louiskmeta@gmail.com>\n"
"Language: es\n"
"Language-Team: python-doc-es\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Generated-By: Babel 2.13.0\n"
"X-Generator: Poedit 3.0.1\n"

#: ../Doc/c-api/number.rst:6
msgid "Number Protocol"
Expand Down Expand Up @@ -71,16 +72,15 @@ msgstr ""
"``o1 @ o2``."

#: ../Doc/c-api/number.rst:46
#, fuzzy
msgid ""
"Return the floor of *o1* divided by *o2*, or ``NULL`` on failure. This is "
"the equivalent of the Python expression ``o1 // o2``."
msgstr ""
"Retorna el resto de dividir *o1* entre *o2* o ``NULL`` en caso de error. "
"Este es el equivalente de la expresión de Python ``o1% o2``."
"Retorna el cociente de la división entera a la baja entre *o1* y *o2*, o "
"``NULL`` en caso de error. Este es el equivalente de la expresión de Python "
"``o1 // o2``."

#: ../Doc/c-api/number.rst:52
#, fuzzy
msgid ""
"Return a reasonable approximation for the mathematical value of *o1* divided "
"by *o2*, or ``NULL`` on failure. The return value is \"approximate\" "
Expand All @@ -93,16 +93,18 @@ msgstr ""
"por *o2* o ``NULL`` en caso de falla. El valor de retorno es \"aproximado\" "
"porque los números binarios de punto flotante son aproximados; No es posible "
"representar todos los números reales en la base dos. Esta función puede "
"retornar un valor de punto flotante cuando se pasan dos enteros."
"retornar un valor de punto flotante cuando se pasan dos enteros. Es "
"equivalente a la expresión de Python ``o1 / o2``."

#: ../Doc/c-api/number.rst:61
#, python-format
msgid ""
"Returns the remainder of dividing *o1* by *o2*, or ``NULL`` on failure. "
"This is the equivalent of the Python expression ``o1 % o2``."
msgstr ""
"Retorna el resto de dividir *o1* entre *o2* o ``NULL`` en caso de error. "
"Este es el equivalente de la expresión de Python ``o1% o2``."
"Retorna el resto de la división entera a la baja entre *o1* y *o2*, o "
"``NULL`` en caso de error. Este es el equivalente de la expresión de Python "
"``o1 % o2``."

#: ../Doc/c-api/number.rst:69
msgid ""
Expand Down Expand Up @@ -248,9 +250,10 @@ msgid ""
"failure. The operation is done *in-place* when *o1* supports it. This is "
"the equivalent of the Python statement ``o1 //= o2``."
msgstr ""
"Retorna el piso matemático de dividir *o1* por *o2*, o ``NULL`` en caso de "
"falla. La operación se realiza en su lugar (*in-place*) cuando *o1* lo "
"admite. Este es el equivalente de la declaración de Python ``o1 //= o2``."
"Retorna el cociente de la división entera a la baja entre *o1* y *o2*, o "
"``NULL`` en caso de error. La operación se realiza in situ (*in-place*) "
"cuando *o1* lo admite. Es el equivalente de la sentencia de Python ``o1 //= "
"o2``."

#: ../Doc/c-api/number.rst:178
#, fuzzy
Expand Down
11 changes: 6 additions & 5 deletions faq/programming.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@ msgstr ""
"Project-Id-Version: Python 3.8\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-12 19:43+0200\n"
"PO-Revision-Date: 2021-12-11 15:36-0300\n"
"PO-Revision-Date: 2024-01-21 16:47+0100\n"
"Last-Translator: Juan C. Tello <juanctello@gmail.com>\n"
"Language: es\n"
"Language-Team: python-doc-es\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Generated-By: Babel 2.13.0\n"
"X-Generator: Poedit 3.0.1\n"

#: ../Doc/faq/programming.rst:5
msgid "Programming FAQ"
Expand Down Expand Up @@ -1300,8 +1301,8 @@ msgid ""
"identity to hold, and then compilers that truncate ``i // j`` need to make "
"``i % j`` have the same sign as ``i``."
msgstr ""
"entonces la división entera debe retornar el valor base más bajo. C también "
"requiere que esa esa identidad se mantenga de tal forma que cuando los "
"entonces la división entera a la baja debe retornar el valor base más bajo. "
"C también requiere que esa identidad se mantenga de tal forma que cuando los "
"compiladores truncan ``i // j`` necesitan que ``i % j`` tenga el mismo signo "
"que ``i``."

Expand Down