Skip to content

Traducido c-api/object #391

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
Jul 25, 2020
Merged
Changes from 1 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
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: Héctor Canto <hectorcanto@gmail.com>
  • Loading branch information
cmaureir and hectorcanto authored Jun 20, 2020
commit 2e1ffbc715aed25a805f639d4732ba21d2bbfa52
13 changes: 6 additions & 7 deletions c-api/object.po
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ msgid ""
"The ``NotImplemented`` singleton, used to signal that an operation is not "
"implemented for the given type combination."
msgstr ""
"El singleton ``NotImplemented``, usado para indicar que una operación no "
"El singleton ``NotImplemented``, se usa para indicar que una operación no "
"está implementada para la combinación de tipos dada."

#: ../Doc/c-api/object.rst:17
Expand All @@ -41,7 +41,7 @@ msgid ""
"return it)."
msgstr ""
"Maneja adecuadamente el retorno :c:data:`Py_NotImplemented` desde una "
"función C (es decir, incremente el recuento de referencia de "
"función C (es decir, incremente el recuento de referencias de "
"*NotImplemented* y lo retorna)."

#: ../Doc/c-api/object.rst:24
Expand All @@ -64,18 +64,17 @@ msgid ""
msgstr ""
"Retorna ``1`` si *o* tiene el atributo *attr_name*, y ``0`` en caso "
"contrario. Esto es equivalente a la expresión de Python ``hasattr(o, "
"attr_name)``. Esta función siempre tiene éxito."
"attr_name)``. Esta función siempre finaliza exitosamente."

#: ../Doc/c-api/object.rst:36
msgid ""
"Note that exceptions which occur while calling :meth:`__getattr__` and :meth:"
"`__getattribute__` methods will get suppressed. To get error reporting use :"
"c:func:`PyObject_GetAttr()` instead."
msgstr ""
"Tenga en cuenta que las excepciones que se producen al llamar a :meth:"
"`__getattr__` y :meth:`__getattribute__` se suprimirán los métodos. Para "
"obtener informes de errores, utilice :c:func:`PyObject_GetAttr()` en su "
"lugar."
"Tenga en cuenta que las excepciones que se producen al llamar a los métodos a :meth:"
"`__getattr__` y :meth:`__getattribute__` se suprimirán. Para "
"obtener informe de errores, utilice :c:func:`PyObject_GetAttr()` alternativamente."

#: ../Doc/c-api/object.rst:47
msgid ""
Expand Down