@@ -38,10 +38,10 @@ msgid ""
3838msgstr ""
3939
4040msgid ""
41- "In general, consider this function to be a low-level routine. Use :c:member: "
42- "`~PyTypeObject.tp_alloc` where possible. For implementing :c:member:`! "
43- "tp_alloc` for your type, prefer :c:func:`PyType_GenericAlloc` or :c:func: "
44- "`PyObject_New`."
41+ "In general, consider this function to be a low-level routine. "
42+ "Use :c:member: `~PyTypeObject.tp_alloc` where possible. For "
43+ "implementing :c:member:`! tp_alloc` for your type, "
44+ "prefer :c:func:`PyType_GenericAlloc` or :c:func: `PyObject_New`."
4545msgstr ""
4646
4747msgid ""
@@ -61,10 +61,10 @@ msgstr ""
6161
6262msgid ""
6363"Allocates a new Python object using the C structure type *TYPE* and the "
64- "Python type object *typeobj* (``PyTypeObject*``) by calling :c:func: "
65- "`PyObject_Malloc` to allocate memory and initializing it like :c:func: "
66- "`PyObject_Init`. The caller will own the only reference to the object (i.e. "
67- "its reference count will be one)."
64+ "Python type object *typeobj* (``PyTypeObject*``) by "
65+ "calling :c:func: `PyObject_Malloc` to allocate memory and initializing it "
66+ "like :c:func: `PyObject_Init`. The caller will own the only reference to the "
67+ "object (i.e. its reference count will be one)."
6868msgstr ""
6969
7070msgid ""
@@ -73,20 +73,22 @@ msgid ""
7373msgstr ""
7474
7575msgid ""
76- "When populating a type's :c:member:`~PyTypeObject.tp_alloc` slot, :c:func: "
77- "`PyType_GenericAlloc` is preferred over a custom function that simply calls "
78- "this macro."
76+ "When populating a type's :c:member:`~PyTypeObject.tp_alloc` "
77+ "slot, :c:func: `PyType_GenericAlloc` is preferred over a custom function that "
78+ "simply calls this macro."
7979msgstr ""
8080
8181msgid ""
82- "This macro does not call :c:member:`~PyTypeObject.tp_alloc`, :c:member:"
83- "`~PyTypeObject.tp_new` (:meth:`~object.__new__`), or :c:member:"
84- "`~PyTypeObject.tp_init` (:meth:`~object.__init__`)."
82+ "This macro does not "
83+ "call :c:member:`~PyTypeObject.tp_alloc`, :c:member:`~PyTypeObject.tp_new` "
84+ "(:meth:`~object.__new__`), or :c:member:`~PyTypeObject.tp_init` "
85+ "(:meth:`~object.__init__`)."
8586msgstr ""
8687
8788msgid ""
88- "This cannot be used for objects with :c:macro:`Py_TPFLAGS_HAVE_GC` set in :c:"
89- "member:`~PyTypeObject.tp_flags`; use :c:macro:`PyObject_GC_New` instead."
89+ "This cannot be used for objects with :c:macro:`Py_TPFLAGS_HAVE_GC` set "
90+ "in :c:member:`~PyTypeObject.tp_flags`; use :c:macro:`PyObject_GC_New` "
91+ "instead."
9092msgstr ""
9193
9294msgid ""
@@ -101,9 +103,9 @@ msgstr ""
101103
102104msgid ""
103105"This macro does not construct a fully initialized object of the given type; "
104- "it merely allocates memory and prepares it for further initialization by :c: "
105- "member:`~PyTypeObject.tp_init`. To construct a fully initialized object, "
106- "call *typeobj* instead. For example::"
106+ "it merely allocates memory and prepares it for further initialization "
107+ "by :c: member:`~PyTypeObject.tp_init`. To construct a fully initialized "
108+ "object, call *typeobj* instead. For example::"
107109msgstr ""
108110
109111msgid "PyObject *foo = PyObject_CallNoArgs((PyObject *)&PyFoo_Type);"
@@ -126,8 +128,8 @@ msgstr ""
126128
127129msgid ""
128130"It allocates enough memory for the *TYPE* structure plus *size* "
129- "(``Py_ssize_t``) fields of the size given by the :c:member:`~PyTypeObject. "
130- "tp_itemsize` field of *typeobj*."
131+ "(``Py_ssize_t``) fields of the size given by "
132+ "the :c:member:`~PyTypeObject. tp_itemsize` field of *typeobj*."
131133msgstr ""
132134
133135msgid "The memory is initialized like :c:func:`PyObject_InitVar`."
@@ -141,8 +143,9 @@ msgid ""
141143msgstr ""
142144
143145msgid ""
144- "This cannot be used for objects with :c:macro:`Py_TPFLAGS_HAVE_GC` set in :c:"
145- "member:`~PyTypeObject.tp_flags`; use :c:macro:`PyObject_GC_NewVar` instead."
146+ "This cannot be used for objects with :c:macro:`Py_TPFLAGS_HAVE_GC` set "
147+ "in :c:member:`~PyTypeObject.tp_flags`; use :c:macro:`PyObject_GC_NewVar` "
148+ "instead."
146149msgstr ""
147150
148151msgid ""
0 commit comments