Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Traducido archivo reference/datamodel#3351

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
xooseph wants to merge12 commits intopython:3.13
base:3.13
Choose a base branch
Loading
fromxooseph:traduccion-datamodel
Open
Changes from1 commit
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
PrevPrevious commit
NextNext commit
Powrap
  • Loading branch information
@xooseph
xooseph committedJan 28, 2025
commitf85a9f75af127e4eaeff2695a01aa71bbe50397d
59 changes: 30 additions & 29 deletionsreference/datamodel.po
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -446,8 +446,8 @@ msgid ""
"representing the values ``False`` and ``True`` are the only Boolean objects. "
"The Boolean type is a subtype of the integer type, and Boolean values behave "
"like the values 0 and 1, respectively, in almost all contexts, the exception "
"being that when converted to a string, the strings ``\"False\"`` or``\"True"
"\"`` are returned, respectively."
"being that when converted to a string, the strings ``\"False\"`` or "
"``\"True\"`` are returned, respectively."
msgstr ""
"Estos representan los valores de verdad Falso y Verdadero. Los dos objetos "
"que representan los valores ``False`` y ``True`` son los únicos objetos "
Expand DownExpand Up@@ -1369,9 +1369,10 @@ msgid ""
"namespace implemented by a :class:`dictionary <dict>` object (this is the "
"dictionary referenced by the :attr:`~function.__globals__` attribute of "
"functions defined in the module). Attribute references are translated to "
"lookups in this dictionary, e.g., ``m.x`` is equivalent to ``m.__dict__[\"x"
"\"]``. A module object does not contain the code object used to initialize "
"the module (since it isn't needed once the initialization is done)."
"lookups in this dictionary, e.g., ``m.x`` is equivalent to ``m."
"__dict__[\"x\"]``. A module object does not contain the code object used to "
"initialize the module (since it isn't needed once the initialization is "
"done)."
msgstr ""
"Los módulos son una unidad básica organizacional en código Python, y son "
"creados por el :ref:`sistema de importación <importsystem>` al ser invocados "
Expand DownExpand Up@@ -2213,8 +2214,8 @@ msgid ""
msgstr ""
"El :ref:`objeto de código <code-objects>` que se está ejecutando en este "
"marco. Al acceder a este atributo se lanza un :ref:`evento de auditoría "
"<auditing>` ``object.__getattr__`` con los argumentos ``obj`` y``\"f_code"
"\"``."
"<auditing>` ``object.__getattr__`` con los argumentos ``obj`` y "
"``\"f_code\"``."

# Cómo puede quedar esta traducción, para que no quede como: "hace referencia a un :term:`optimized scope`"?
#: ../Doc/reference/datamodel.rst:1417
Expand DownExpand Up@@ -3139,10 +3140,10 @@ msgstr ""

#: ../Doc/reference/datamodel.rst:1971
msgid ""
"By default, the :meth:`__hash__` values of str and bytes objects are\"salted"
"\" with an unpredictable random value. Although they remain constant within "
"an individual Python process, they are not predictable between repeated "
"invocations of Python."
"By default, the :meth:`__hash__` values of str and bytes objects are "
"\"salted\" with an unpredictable random value. Although they remain "
"constant withinan individual Python process, they are not predictable "
"between repeatedinvocations of Python."
msgstr ""
"Por defecto los valores de objetos str y bytes de :meth:`__hash__` son "
"“salados” con un valor aleatorio impredecible. Aunque se mantienen "
Expand DownExpand Up@@ -3461,9 +3462,9 @@ msgid ""
"The following methods only apply when an instance of the class containing "
"the method (a so-called *descriptor* class) appears in an *owner* class (the "
"descriptor must be in either the owner's class dictionary or in the class "
"dictionary for one of its parents). In the examples below, \"theattribute"
"\" refers to the attribute whose name is the key of the property in the "
"owner class' :attr:`~object.__dict__`."
"dictionary for one of its parents). In the examples below, \"the "
"attribute\" refers to the attribute whose name is the key of the property in "
"theowner class' :attr:`~object.__dict__`."
msgstr ""
"Los siguientes métodos solo aplican cuando una instancia de clase que "
"contiene el método (llamado clase *descriptora*) aparece en una clase "
Expand DownExpand Up@@ -5121,16 +5122,16 @@ msgstr ""

#: ../Doc/reference/datamodel.rst:3060
msgid ""
"These methods are called to implement the binary arithmetic operations(``"
"+``, ``-``, ``*``, ``@``, ``/``, ``//``, ``%``, :func:`divmod`, :func:`pow`,"
"``**``, ``<<``, ``>>``, ``&``, ``^``, ``|``). For instance, to evaluate the "
"expression ``x + y``, where *x* is an instance of a class thathas an :meth:"
"`__add__` method, ``type(x).__add__(x, y)`` is called. The:meth:"
"`__divmod__` method should be the equivalent to using :meth:`__floordiv__`"
"and :meth:`__mod__`; it should not be related to :meth:`__truediv__`. Note"
"that :meth:`__pow__` should be defined to accept an optional third argument "
"if the ternary version of the built-in :func:`pow` function is to be "
"supported."
"These methods are called to implement the binary arithmetic operations "
"(``+``, ``-``, ``*``, ``@``, ``/``, ``//``, ``%``, :func:`divmod`, :func:"
"`pow`, ``**``, ``<<``, ``>>``, ``&``, ``^``, ``|``). For instance, to "
"evaluate theexpression ``x + y``, where *x* is an instance of a class that "
"has an :meth:`__add__` method, ``type(x).__add__(x, y)`` is called. The :"
"meth:`__divmod__` method should be the equivalent to using :meth:"
"`__floordiv__`and :meth:`__mod__`; it should not be related to :meth:"
"`__truediv__`. Notethat :meth:`__pow__` should be defined to accept an "
"optional third argumentif the ternary version of the built-in :func:`pow` "
"function is to besupported."
msgstr ""
"Estos métodos se llaman para implementar las operaciones aritméticas "
"binarias (``+``, ``-``, ``*``, ``@``, ``/``, ``//``, ``%``, :func:`divmod`, :"
Expand All@@ -5153,9 +5154,9 @@ msgstr ""

#: ../Doc/reference/datamodel.rst:3094
msgid ""
"These methods are called to implement the binary arithmetic operations(``"
"+``, ``-``, ``*``, ``@``, ``/``, ``//``, ``%``, :func:`divmod`, :func:`pow`,"
"``**``, ``<<``, ``>>``, ``&``, ``^``, ``|``) with reflected (swapped) "
"These methods are called to implement the binary arithmetic operations "
"(``+``, ``-``, ``*``, ``@``, ``/``, ``//``, ``%``, :func:`divmod`, :func:"
"`pow`, ``**``, ``<<``, ``>>``, ``&``, ``^``, ``|``) with reflected (swapped) "
"operands. These functions are only called if the left operand does not "
"support the corresponding operation [#]_ and the operands are of different "
"types. [#]_ For instance, to evaluate the expression ``x - y``, where *y* is "
Expand DownExpand Up@@ -5233,8 +5234,8 @@ msgid ""
"Called to implement the unary arithmetic operations (``-``, ``+``, :func:"
"`abs` and ``~``)."
msgstr ""
"Es llamado para implementar las operaciones aritméticas unarias (``-``,``"
"+``, :func:`abs` and ``~``)."
"Es llamado para implementar las operaciones aritméticas unarias (``-``, "
"``+``, :func:`abs` and ``~``)."

#: ../Doc/reference/datamodel.rst:3168
msgid ""
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp