Skip to content

Commit 2e1ffbc

Browse files
Apply suggestions from code review
Co-authored-by: Héctor Canto <hectorcanto@gmail.com>
1 parent a19dff5 commit 2e1ffbc

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

c-api/object.po

+6-7
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ msgid ""
3131
"The ``NotImplemented`` singleton, used to signal that an operation is not "
3232
"implemented for the given type combination."
3333
msgstr ""
34-
"El singleton ``NotImplemented``, usado para indicar que una operación no "
34+
"El singleton ``NotImplemented``, se usa para indicar que una operación no "
3535
"está implementada para la combinación de tipos dada."
3636

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

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

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

8079
#: ../Doc/c-api/object.rst:47
8180
msgid ""

0 commit comments

Comments
 (0)